diff --git a/lib/Launcher.js b/lib/Launcher.js index d76a5baf..48b4fc6d 100644 --- a/lib/Launcher.js +++ b/lib/Launcher.js @@ -37,6 +37,7 @@ const DEFAULT_ARGS = [ '--disable-prompt-on-repost', '--disable-sync', '--enable-automation', + '--enable-devtools-experiments', '--metrics-recording-only', '--no-first-run', '--password-store=basic', diff --git a/package.json b/package.json index 59a754b6..fa130906 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "ws": "^3.0.0" }, "puppeteer": { - "chromium_revision": "494755" + "chromium_revision": "496140" }, "devDependencies": { "commonmark": "^0.27.0", diff --git a/test/test.js b/test/test.js index acf55d69..24f42ba6 100644 --- a/test/test.js +++ b/test/test.js @@ -562,7 +562,7 @@ describe('Page', function() { it('should fail when main resources failed to load', SX(async function() { let error = null; try { - await page.goto('chrome-devtools://non-existing.html'); + await page.goto('http://localhost:44123/non-existing-url'); } catch (e) { error = e; }