This commit is contained in:
spiduler
2020-10-23 14:32:06 +09:00
parent ebd0f60b35
commit 04ca165cd3

View File

@@ -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)
}
}) })
} }