mention which browser binaries are placed where

This commit is contained in:
Ralf Vogler 2021-12-28 18:12:34 +01:00
parent 481253a12f
commit 42b2b384e3

View file

@ -1,6 +1,8 @@
# epicgames-claimer # epicgames-claimer
## usage ## usage
Setup: `npm install && npx playwright install` (downloads {chromium, firefox, webkit} (742 MB) to cache in home ([doc](https://playwright.dev/docs/browsers#managing-browser-binaries))).
Run `npm login` which opens a browser where you can login. When closing the browser, it writes a file `auth.json` containing cookies that should keep you logged in for some time. Run `npm login` which opens a browser where you can login. When closing the browser, it writes a file `auth.json` containing cookies that should keep you logged in for some time.
Then use `npm start` to run Chrome in headless mode to claim the current free game. Then use `npm start` to run Chrome in headless mode to claim the current free game.