Disable safebrowsing for puppeteer chrome
password2 ...
Change-Id: Iecae30d40680a3279fc0f93dfba5b0b97f6065c6
diff --git a/test/korap-ui.js b/test/korap-ui.js
index 4c18bd6..a71ebf4 100644
--- a/test/korap-ui.js
+++ b/test/korap-ui.js
@@ -1,4 +1,12 @@
-const puppeteer = require('puppeteer')
+const puppeteer = require('puppeteer-extra');
+puppeteer.use(require('puppeteer-extra-plugin-user-preferences')({
+ userPrefs: {
+ safebrowsing: {
+ enabled: false,
+ enhanced: false
+ }
+ }
+}));
const chai = require('chai');
const { afterEach } = require('mocha');
const { doesNotMatch } = require('assert');