From 31651aeeb635d1d2077703a97de95ea23a2caef0 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 20 Mar 2018 23:12:26 +0800 Subject: [PATCH] Add test case --no-sandbox args. --- test/run.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run.test.js b/test/run.test.js index abe9ecf..c12cbec 100644 --- a/test/run.test.js +++ b/test/run.test.js @@ -28,7 +28,7 @@ function __triggerKeyboardEvent(el, keyCode, opt) { } beforeAll(async () => { - browser = await puppeteer.launch(); + browser = await puppeteer.launch({ args: ['--no-sandbox']}); page = await browser.newPage(); })