Skip to content

Commit

Permalink
fix: disconnect the browser on environment teardown (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomer Ohana authored and gregberge committed Dec 18, 2018
1 parent 0c70906 commit 5d073cc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ class PuppeteerEnvironment extends NodeEnvironment {
} else {
await this.global.page.close()
}

await this.global.browser.disconnect()
}
}

Expand Down

0 comments on commit 5d073cc

Please sign in to comment.