This commit is contained in:
spiduler
2020-10-23 03:48:23 +09:00
parent 35a6ecfecf
commit f413cc51e7

View File

@@ -61,6 +61,7 @@ class SeleniumBrowser {
let htmlPromise = this.isCaptchaPage(html) ? this.resolveCaptcha(driver) : this.getHtml(driver, html, params) let htmlPromise = this.isCaptchaPage(html) ? this.resolveCaptcha(driver) : this.getHtml(driver, html, params)
html = await htmlPromise html = await htmlPromise
this.pool.destroy(driver) this.pool.destroy(driver)
this.pool.release(driver)
return html return html
}) })
} else { } else {