Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Focusmate Booking Automation (Playwright + Stealth)

Automates Focusmate session booking from task metadata using Playwright with stealth mode.

Setup

cp .env.example .env
npm install
npm run prepare

Edit .env with your Focusmate credentials.

Usage

npm run server    # run a server to allow sp-focusmate-planner plugin to book
npm run inspect   # opens booking page for selector inspection
npm run book      # runs a sample booking

Notes

  • Update selectors in src/booking/focusmate.booker.ts after inspecting the actual Focusmate UI with npm run inspect
  • STATE_FILE saves browser cookies between runs so you don't log in every time
  • Use HEADLESS=false for debugging

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages