Thanks to @pipo_dev I was able to solve an issue I was having with multiple evaluations in NightmareJS, one thing that I would like to know is if I can provide multiple reports for the same test, take the following as an example:  describe('test...
I am trying to run an azure webjob which takes a json object and renders a webpage, then prints it to pdf, via the electron browser in Nightmare.js.  When I run this locally it works perfectly, but when I run it in azure webjob it never completes. I...
I am using nightmare to login to a page and click a few links. Then I go to a specific url for which a POST request is made. I want to retrieve the json response from the POST request. So far, I have this  var Nightmare = require('nightmare')...
I'm able to set an HTTP proxy just fine for NightmareJS but how do I specify the type (http/socks5/socks4)? Here's the code I use to set an HTTP proxy:  const nightmare = Nightmare({             show:true,             switches: {...
I can't seem to get nightmare.js to work on an Ubuntu Linux 14.04 server [via DigitalOcean].  I've installed PhantomJS (1.9.8) and Node (4.2.4), and they are working well as far as I can tell.   For example, when I run this:  phantomjs loadsp...
I'm  currently working on some scraping with cheerio and nightmare. The reason why I'm using both and not just cheerio is because I have to manipulate the site to get to the part that I want to scrape and I found nightmare very good at doing...
I'm attempting to scrape dynamic paging websites with Nightmare / Electron. I don't see a way to perform a do... until with nightmare functions OR a way to chain evaluate calls with logic.   Here's a simple code example that merely Google...
I am working on a web scraper and a table successfully prints, however the formatting of the table is terrible.  I've tried a few things before now   1) const people = [...peopleList].map(personEntry => personEntry.innerText + '\n")  2...
I've been struggling for a few days on this one issue. I am using nightmarejs to click an image on an Ebay product listing page. When clicked, the full-sized version of the image appears in a lightbox.  Nightmarejs just won't click this image...
I'm trying to pass a variable to .evaluate so I can use them in the scope of the web page but I can't get it to work.  await nightmare.evaluate(function() {         let links = document.querySelectorAll('div.fsl a');         return Ar...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.