Skip to content

Commit

Permalink
Fix for connect()
Browse files Browse the repository at this point in the history
  • Loading branch information
Niek committed Feb 1, 2021
1 parent 04445d5 commit fe37796
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ class Plugin extends PuppeteerExtraPlugin {
this._headless = options.headless
}

async beforeConnect() {
// Treat browsers using connect() as headless browsers
this._headless = true
}

get data() {
return [
{
Expand Down

0 comments on commit fe37796

Please sign in to comment.