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.
This commit is contained in:
Ralf Vogler 2021-12-27 23:58:29 +01:00
parent c1393e95be
commit d44d84be3c
5 changed files with 1555 additions and 4 deletions

View file

@ -3,9 +3,14 @@
"login": "npx playwright open --save-storage=auth.json https://www.epicgames.com/login",
"codegen": "npx playwright codegen --load-storage=auth.json https://www.epicgames.com/store/en-US/free-games",
"start": "npx playwright test --timeout 10000",
"debug": "npx playwright test --debug"
"debug": "npx playwright test --debug",
"captcha": "node main.captcha"
},
"devDependencies": {
"@playwright/test": "^1.17.1"
"@extra/recaptcha": "^4.2.1-next.616",
"@playwright/test": "^1.17.1",
"dotenv": "^10.0.0",
"playwright": "^1.17.1",
"playwright-extra": "^4.2.1-next.616"
}
}