Skip to main content
1 vote
1 answer
59 views

Is there any Playwright equivalent for waitForResource in CasperJS? How can I write the below code using Playwright? casper.waitForResource(function test(resource) { return resource.url.indexOf(&...
sumercetin's user avatar
2 votes
1 answer
82 views

Cookies pop-up stops login to Amazon with CasperJS I am trying to write a script using CasperJS to login into my Amazon account. As of now, in 2023, Amazon requires you to input the email first, and ...
Jhon Meron's user avatar
3 votes
0 answers
877 views

I hope you are well. I’m using Ghost 4.33 on DigitalOcean Droplet. The site is running well. I have been editing the Casper theme. Mostly cosmetic updates. I signed u pfor Mailgun and got my email, ...
Designer's user avatar
  • 1,111
0 votes
0 answers
121 views

I would like to update a parameter of a URL so in node JS I have a code that works fine see below: var injectCorrectIndexKey = function (url) { var href = new URL(url); href.searchParams.set('...
Dev Dev's user avatar
  • 377
0 votes
0 answers
49 views

I have a table as below: <table id="securedTable" border="1" cellspacing="0" cellpadding="1" class="secured"> <thead> <tr&...
Dev Dev's user avatar
  • 377
-1 votes
2 answers
39 views

casper.thenEvaluate(function(text){ document.querySelector("#inputValue").value=text }) casper.thenEvaluate seems to not accept the argument and it is filling undefined in the webpage.
sahil Malik's user avatar
0 votes
0 answers
43 views

there is my code var casper = require('casper').create(); verbose: true; logLevel: 'debug'; pageSettings: { loadImages: true; loadPlugins: true }; ...
Alex Duguy's user avatar
1 vote
2 answers
425 views

After days trying install casperjs on my Mac, i'm asking some help. I first used "brew install" method and NPM, this is terminal's messages : brew install casperjs Updating Homebrew... ==>...
AlbertoV's user avatar
  • 161
1 vote
0 answers
46 views

I'm trying to use CasperJS for HTTP auth to an app then make a second request which if successful should trigger an XSS payload to send the cookies out. I know the auth works as the below code ...
Griffnut's user avatar
0 votes
1 answer
40 views

A very simple example link https://www.accessdata.fda.gov/scripts/cder/daf/index.cfm. Even wget without any header information can successfully scrape the information. However, casperjs just not work ...
Katelynn ruan's user avatar
0 votes
0 answers
30 views

I am trying to scrape this The first page is loading correct but whenever I run the below code, it doesnt give any error and returns data of the first page. I tried several ways but was unable to ...
amitava deb's user avatar
0 votes
0 answers
50 views

So first I try with this code which is available in casperjs example for scraping google search result. but it doesn't work correctly. var links = []; var casper = require('casper').create(); ...
Pranab Sarkar's user avatar
-1 votes
1 answer
134 views

Following this post: C# WebClient - Getting an HTML from URI instead of CSV_ The problem is that the csv was compiled with javascript in the browser. In the same post, recommendation is use Casperjs ...
Eider Falla's user avatar
0 votes
1 answer
658 views

I am trying to do a functional test using casperjs in magento 2 at the one step checkout. In this case I have Stripe as a payment gateway and has an iframe with out id or name. (the class name ...
open-ecommerce.org's user avatar
0 votes
1 answer
51 views

I am trying to download an image with CasperJS. The thing is that I need to download this image from either the click button event or from the direct download link. I have no code yet, so could anyone ...
user3443756's user avatar

15 30 50 per page
1
2 3 4 5
163