sddsf
This commit is contained in:
@@ -143,10 +143,6 @@ class SeleniumBrowser {
|
|||||||
})
|
})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
return driver.executeScript('captchaCallback("' + res.request + '")').then(() => this.sleep(1000 * 5))
|
return driver.executeScript('captchaCallback("' + res.request + '")').then(() => this.sleep(1000 * 5))
|
||||||
}).finally(() => {
|
|
||||||
if(this.pool.isBorrowedResource(driver)) {
|
|
||||||
this.pool.release(driver)
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user