From 4353d0d18aa623e6488a8e5e8e2a1d4459678498 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Ruiz Date: Mon, 14 Oct 2019 08:25:04 +0200 Subject: [PATCH] nightmare opens electron devTools option added --- e2e/helpers/nightmare.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/e2e/helpers/nightmare.js b/e2e/helpers/nightmare.js index a76b50093..75794c28d 100644 --- a/e2e/helpers/nightmare.js +++ b/e2e/helpers/nightmare.js @@ -10,7 +10,10 @@ module.exports = function createNightmare(width = 1280, height = 720) { typeInterval: 10, x: 0, y: 0, - waitTimeout: 2000 + waitTimeout: 2000, + // openDevTools: { + // mode: 'detach' + // } }).viewport(width, height); nightmare.on('console', (type, message, ...args) => {