Merge branch 'master' of bitbucket.org:panleicim/appointment_tool_js

This commit is contained in:
2022-09-10 10:29:13 +02:00
+3 -3
View File
@@ -196,12 +196,12 @@ class CommandorPage {
console.log("solution is: " + solution); console.log("solution is: " + solution);
if (solution !== ERROR_CAPTCHA_UNSOLVABLE) { if (solution !== ERROR_CAPTCHA_UNSOLVABLE) {
try { try {
if (!page.isClosed()){
page.evaluate((solution) => { page.evaluate((solution) => {
document.getElementById("g-recaptcha-response").innerHTML = solution; document.getElementById("g-recaptcha-response").innerHTML = solution;
}, solution) }, solution)
this.clickValid(); this.clickValid();}
} catch } catch (e) {
(e) {
console.log(e) console.log(e)
this.isTerminated = true; this.isTerminated = true;
} }