Merge branch 'dev' of https://git.verdnatura.es/salix into dev

This commit is contained in:
Javi Gallego 2018-08-30 13:12:09 +02:00
commit eba193999c
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
import Nightmare from 'nightmare';
export default function createNightmare(width = 1280, height = 720) {
const nightmare = new Nightmare({show: true, typeInterval: 10, x: 0, y: 0}).viewport(width, height);
const nightmare = new Nightmare({show: false, typeInterval: 10, x: 0, y: 0}).viewport(width, height);
nightmare.on('page', (type, message, error) => {
fail(error);