See this SO issue for HTML sample, code samples tried in IRB
http://stackoverflow.com/questions/16574999/watir-webdriver-unable-to-identify-button-by-value
the short of it. I've got HTML like
<button type="button" class="btn fb-user-type" name="fbRadios"
value="is_agent" style="">An Agent</button>
When I try to identify the button by class, or text, it works, but by
value such as
b.button(:value => "is_agent").exists?
fails (that returns false, most other stuff returns the typical cannot be
located message)
what the heck? shouldn't this be working? (Chrome on a Mac)
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.