Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waitForSelector #43

Open
murilobaliego opened this issue May 30, 2017 · 0 comments
Open

waitForSelector #43

murilobaliego opened this issue May 30, 2017 · 0 comments

Comments

@murilobaliego
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant