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
Watir 6 and selector_string #4
Comments
@jrmartinez03 - Ok, I took a look at this and I can't repeat it.
returns this:
What do you get when you use:
|
Apologies @titusfortner: my page includes Watir::Wait and Watir::Waitable
Your alternative does work. |
Ah, so Watir::Waitable assumes self is either a browser or an element. If we were to define You could do either:
or I can add this to
Which would let you do:
|
For now, my workaround is to implement selector_string in MyPage:
|
The point of selector_string is to give additional details on what the problem is. Adding the
vs.
What information would be most useful? Also, you likely won't use this for anything directly |
This issue should be addressed now by delegating method_missing to Additionally, I'm pushing for changing |
Gem is not properly handling usage of selector string on page objects.
Referenced here:
watir/watir#495
The text was updated successfully, but these errors were encountered: