diff --git a/src/component/SeleniumBrowser.js b/src/component/SeleniumBrowser.js index 5719021..971bbd8 100644 --- a/src/component/SeleniumBrowser.js +++ b/src/component/SeleniumBrowser.js @@ -75,6 +75,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.release(driver) return html }) } else {