Merge branch 'master' of bitbucket.org:panleicim/appointment_tool_js
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user