diff --git a/lib/Browser.js b/lib/Browser.js index d1f9911b..53055e6f 100644 --- a/lib/Browser.js +++ b/lib/Browser.js @@ -47,7 +47,7 @@ class Browser extends EventEmitter { * @param {function()=} closeCallback */ static async create(connection, options, closeCallback) { - const browser = new Browser(connection, options, closeCallback); + const browser = new Browser(connection, options, closeCallback); await connection.send('Target.setDiscoverTargets', {discover: true}); return browser; }