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

Element could not be located #33

Closed
ericat opened this issue May 21, 2016 · 2 comments
Closed

Element could not be located #33

ericat opened this issue May 21, 2016 · 2 comments

Comments

@ericat
Copy link

ericat commented May 21, 2016

I am trying to find an element on the page with waitUntilTextExists, but it cannot be found. Not sure if this is the right place, but I've decided to open up an issue in case somebody spots anything wrong with what I am doing:

return myApp.client.waitForVisible('.btn-add').then(function(text) {
   console.log(text);
});

Code here and this is the element I am trying to find: .btn-add.

I have tried different ways, including one similar to the example here, but none of them worked. I've captured the full error with catch: An element could not be located on the page using the given search parameters.

Perhaps this belongs on the webdriver project?

@ericat ericat closed this as completed May 23, 2016
@lishoulong
Copy link

@ericat why do you close this issue, I encounter this same question. How do you solve this question?

@Praveer1981
Copy link

@lishoulong did you find the solution of this issue ?

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

3 participants