fsdf
This commit is contained in:
@@ -142,7 +142,11 @@ class SeleniumBrowser {
|
||||
return res
|
||||
})
|
||||
.then(res => {
|
||||
return driver.executeScript('captchaCallback("' + res.request + '")').then(async () => await 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