Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(browser): when usingCustomGetBrowser is set, call getBrowser each time #303

Merged
merged 1 commit into from
Jul 5, 2020

Conversation

simllll
Copy link
Contributor

@simllll simllll commented Jul 4, 2020

if using a custom browser, getBrowser is not called when "browser" is != null. As the behaviour of the browser instance is controlled outside, this leads to situation where a browser is closed, but penthouse believes the browser is still running.

if using a custom browser, getBrowser is not called when "browser" is != null. As the behaviour of the browser instance is controlled outside, this leads to situation where a browser is closed, but penthouse believes the browser is still running.
@pocketjoso
Copy link
Owner

Thanks for the fix!

(The test error is unrelated, seems to fail intermittently since the last puppeteer upgrade - need to look into at some point)

@pocketjoso pocketjoso merged commit 18bbbbc into pocketjoso:master Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants