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);
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user