alwex/php-casperjs

waitForSelector

Opened this issue · 0 comments

Hi,

Sorry for the silly question, have not much experience in php, I'm trying to achieve the same as below done with Javascript with php, do you have any example?

casper.waitForSelector("input[name='password::password']",
function success() {
this.sendKeys("input[name='password::password']", "123456");
},
function fail() {
// any other log echo
});

Thanks