This project is a Playwright-based automation tool that keeps Microsoft Teams Web status set to Available. It works by simulating realistic user activity in the browser, preventing Teams from automatically switching the presence status to Away due to inactivity
This tool is intended for personal or internal use
- Node.js
- NPM
npm install
npx playwright installPlease take a look at the .env.example file and fill in the required values
If you don't use Microsoft OTP, leave this field empty
cp .env.example .env- Go to Microsoft Security Info → https://mysignins.microsoft.com/security-info
- Click Add sign-in method → Select Microsoft Authenticator app
- Click Set up a different authentication app → Click Next
- Click Can't scan the QR code? → Copy the Secret key and keep it safe

- Use your authenticator app to scan the QR code
- Click Next → Enter the code from the authenticator app → Click Next
npm run testnpm run test:uinpm run test:headednpm run test:debug