From 9b70e9e0dc42791cab392640cbb9e79ae3656791 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Tue, 15 Feb 2022 10:35:01 +0100 Subject: [PATCH] only install chromium instead of also firefox & webkit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1c0af3f..eff7f62 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,14 @@ Claims free games on 1. [Install Node.js](https://nodejs.org/en/download) 2. Clone/download this repository and `cd` into it in a terminal -3. Run `npm install && npx playwright install` +3. Run `npm install && npx playwright install chromium` -This downloads {chromium, firefox, webkit} (742 MB) to a cache in home ([doc](https://playwright.dev/docs/browsers#managing-browser-binaries)). +This downloads Chromium (337 MB) to a cache in home ([doc](https://playwright.dev/docs/browsers#managing-browser-binaries)). ## Usage -Both scripts start an automated Chrome instance. It will first check if you are logged in, and if not wait for you to do so. After login, you can also restart the script if it does not redirect back. +Both scripts start an automated Chromium instance. It will first check if you are logged in, and if not wait for you to do so. After login, you can also restart the script if it does not redirect back. If something goes wrong, use `PWDEBUG=1 node epic-games` to [inspect](https://playwright.dev/docs/inspector).