nightmare
nightmare copied to clipboard
A high-level browser automation library.
how to start nightmare browser window maximized?
Similar to #1515, except their fix is not working for me. I also tried `npm cache clean --force`, still to no avail. ``` uname -a Linux hyperion 5.3.0-24-generic #26-Ubuntu SMP...
Working on updating the DefinitelyTyped definitions for this and ran into trouble with the return not matching the documented signature
Here is my code snippet: ``` const SGLink = nightmare .goto('https://www.stadiumgoods.com/catalogsearch/result/?q='+ json.Products[i].styleId) .wait('.item') .evaluate(() => document.querySelector('.item').innerHTML) .end() .then(response => { const $ = cheerio.load(response); console.log($('a').attr('href')); return $('a').attr('href'); }).catch(err => {...
I seem to be running into an edge case issue. When I leave nightmare.js program running for several hours it would eventually stop working. As my program is running I...
I create a screenshot of the page as a result of getting part of the empty png. 
`SyntaxError: Invalid regular expression: /(?
Hi! I would like to test whether a specific alert is triggered after clicking a button. I know I can catch alert events with `.on('page',..)` but this will catch it...
Hi. I've been trying to reproduce full-page screenshots as in [328](https://github.com/segmentio/nightmare/issues/328), but without success. ``` var Nightmare = require('nightmare'), vo = require('vo'); function * run() { var nightmare = new...
I use nightmare along with Electron. I'm running the following piece of code: ``` await nightmare .goto('https://google.com/') .wait(2000); console.log('> Page loaded') let result = await nightmare.evaluate(() => { let elements...