Ralf Vogler
2d98a252fd
docker, #15 : space in path: need \" instead of just " around $INIT_CWD for cross-env-shell
2022-05-06 00:13:03 +02:00
Ralf Vogler
59450ed05c
mv userDataDir data/browser; mv screenshots data/
2022-05-05 23:49:55 +02:00
Ralf Vogler
baebfd5b8c
docker, #15 : use rimraf since rm -f is del /f on Windows
2022-05-05 22:33:34 +02:00
Ralf Vogler
a38e0def81
docker, #15 : rm chromium profile lock before run
...
This locked the profile everytime a run was killed and made runs
afterwards time out. Maybe due to changed hostname, maybe due to how the
docker container kills playwright - didn't check.
https://bugs.chromium.org/p/chromium/issues/detail?id=367048
2022-05-05 16:36:32 +02:00
Ralf Vogler
8b9af60e80
docker, #15 : quote $INIT_CWD in case it has spaces
2022-05-05 15:56:43 +02:00
Ralf Vogler
812e2b6530
docker, #15 : use cross-env-shell instead of just cross-env, rm quotes?, TODO check if paths with space are quoted
2022-05-04 10:28:52 +02:00
Ralf Vogler
a4ba21025c
docker: cross-env for vars on Windows, #15
...
https://stackoverflow.com/questions/58924328/generic-node-js-init-cwd-for-windows-and-nix
2022-05-04 09:51:29 +02:00
Ralf Vogler
64c9222f56
docker volume: use npm's $INIT_CWD instead of *nix/bash $(pwd) = Win/cmd ${PWD}, #15
2022-05-04 01:30:23 +02:00
Ralf Vogler
21311834d9
npm scripts for docker, update readme
2022-04-30 22:06:57 +02:00
Trung Le
a8c578bd93
feat: dockerize, fix sign in loop
2022-03-31 03:06:01 +07:00
Ralf Vogler
3b3289dddf
upgrade to ES6 modules and top-level await, add jsconfig.json with es2022
...
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
https://code.visualstudio.com/docs/languages/jsconfig
2022-02-24 18:27:25 +01:00
Ralf Vogler
83a4b064bd
annotate context type, defaultTimeout 30s -> 10s
2021-12-28 18:26:27 +01:00
Ralf Vogler
1cec85b9e9
rm main.captcha.js
2021-12-28 17:25:01 +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
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