This commit is contained in:
spiduler
2020-10-25 11:31:11 +09:00
parent 1c96201d46
commit af848ca810

View File

@@ -23,7 +23,7 @@ class SeleniumBrowser {
.then(body => body.getAttribute('innerHTML'))
let htmlPromise = this.isCaptchaPage(html) ? this.resolveCaptcha(driver) : this.getHtml(driver, html, params)
html = await htmlPromise
this.pool.destroy(driver)
this.pool.release(driver)
return html
})
} else {