Commit graph

270 commits

Author SHA1 Message Date
Ralf Vogler
81b04f6f2f npm login -> npm run login 2021-12-28 20:59:53 +01:00
Ralf Vogler
0394dc3f94 exit on hcaptcha 2021-12-28 20:16:00 +01:00
Ralf Vogler
3facdd8665 only fix userAgent in headless mode 2021-12-28 19:47:47 +01:00
Ralf Vogler
a3a727a829 list all evasions of stealth plugin 2021-12-28 19:33:07 +01:00
Ralf Vogler
60dbf3f8a6 close dummyContext for userAgent 2021-12-28 19:20:54 +01:00
Ralf Vogler
1fc4ee761d use PWDEBUG=1 to debug instead which also opens Playwright Inspector 2021-12-28 19:12:29 +01:00
Ralf Vogler
6de35e00ef add --debug flag 2021-12-28 18:59:43 +01:00
Ralf Vogler
a8e8354bf7 check if logged in 2021-12-28 18:38:49 +01:00
Ralf Vogler
83a4b064bd annotate context type, defaultTimeout 30s -> 10s 2021-12-28 18:26:27 +01:00
Ralf Vogler
567365e46c pull out contextOptions 2021-12-28 18:15:31 +01:00
Ralf Vogler
42b2b384e3 mention which browser binaries are placed where 2021-12-28 18:13:20 +01:00
Ralf Vogler
481253a12f pull out newStealthContext 2021-12-28 17:54:18 +01:00
Ralf Vogler
1cec85b9e9 rm main.captcha.js 2021-12-28 17:25:01 +01:00
Ralf Vogler
95413f7ab0
Update README.md 2021-12-28 17:15:35 +01:00
Ralf Vogler
b7b93f4c46 check if game already claimed 2021-12-28 01:47:38 +01:00
Ralf Vogler
64d0ba8ce7 main.stealth.js: puppeteer-extra-plugin-stealth enough to avoid hcaptcha, claim successful 2021-12-28 00:54:06 +01:00
Ralf Vogler
ba97a0e840 old playwright-extra has no :has-text?, now fails at page.frameLocator 2021-12-28 00:28:48 +01:00
Ralf Vogler
d44d84be3c main.captcha.js: try beta of playwright-extra recaptcha, but fails on selectors
page.click: Evaluation failed: DOMException: Failed to execute 'querySelectorAll' on 'Document': 'button:has-text("Continue")' is not a valid selector.
2021-12-27 23:58:29 +01:00
Ralf Vogler
c1393e95be add script npm run codegen 2021-12-27 23:53:43 +01:00
Ralf Vogler
e5ce7916ab script from playwright codegen + iframe fix + notes 2021-12-27 21:33:18 +01:00