nightmare opens electron devTools option added
gitea/salix/dev This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2019-10-14 08:25:04 +02:00
parent e267bf93a4
commit 4353d0d18a
1 changed files with 4 additions and 1 deletions

View File

@ -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) => {