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);
if (solution !== ERROR_CAPTCHA_UNSOLVABLE) {
try {
if (!page.isClosed()){
page.evaluate((solution) => {
document.getElementById("g-recaptcha-response").innerHTML = solution;
}, solution)
this.clickValid();
} catch
(e) {
this.clickValid();}
} catch (e) {
console.log(e)
this.isTerminated = true;
}