Skip to content Skip to sidebar Skip to footer
Showing posts with the label Casperjs

Casperjs And 'unsafe Javascript Attempt To Access Frame With Url' Error

I have simple page with javascript which validates email written in input: email.html: Email valida… Read more Casperjs And 'unsafe Javascript Attempt To Access Frame With Url' Error

How Can I Wait For A Socket.io Connection To Return Data Using Casperjs?

I am scraping a page which uses socket.io to populate some select tag options. How can I wait for t… Read more How Can I Wait For A Socket.io Connection To Return Data Using Casperjs?

Casperjs Scraping Dynamic Content

I'm trying to scrape this page using Casperjs. The main function to my code works just fine, bu… Read more Casperjs Scraping Dynamic Content

Casperjs/phantomjs Chokes On Loading A Page

I'm running the following script with phantomjs: var casper = require('casper').create(… Read more Casperjs/phantomjs Chokes On Loading A Page

Write Results Into A File Using Casperjs

How do I create a file in the file system and place the contents of this.getPageContent() inside it… Read more Write Results Into A File Using Casperjs

Asynchronous Process Inside A Casperjs Script For While Loop

I'm using a while loop to open a list of usernames from a csv file. For each username of these,… Read more Asynchronous Process Inside A Casperjs Script For While Loop

Passing A Variable Into An Xpath Expression In Casperjs

I am using CasperJS to do some browser automation. Now I have an array, which contains text that ca… Read more Passing A Variable Into An Xpath Expression In Casperjs

Casperjs Click Not Firing Click Event

I am having trouble with CasperJS. I load the page for our site, then try to click on the signup b… Read more Casperjs Click Not Firing Click Event