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'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...
I am using Nightmare JS to create a web bot that visits Facebook's Marketplace and renews the first listing for me. However, only the navigation bar loads when the bot runs and the rest of the body is left blank. I am curious how I can load this,...
I am using NightmareJs for getting the pdf contents from an Amazon link. Because my link is secure so its ask for username and password for authentication.  Link1:     https://central.amazon.in/fp/reports/lab/17627.pdf?ie=UTF8&&requestID=1229...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.