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

javascript: error message #966

Closed
charlierudolph opened this issue Aug 25, 2015 · 1 comment
Closed

javascript: error message #966

charlierudolph opened this issue Aug 25, 2015 · 1 comment

Comments

@charlierudolph
Copy link

The default error message when waiting for an element is not useful

var condition = seleniumWebdriver.until.elementLocated(css: '.my-class')
driver.wait condition, 10000
// throws => Waiting element to be located by [object Object] 

Need to run JSON.stringify on the object for the error message to be useful

@jleyba jleyba closed this as completed in 1ed597a Aug 26, 2015
@charlierudolph
Copy link
Author

Thanks!

@lock lock bot locked and limited conversation to collaborators Aug 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant