It is only possible to locate text fields based on their label (ie other input fields cannot be located by their label).
Given the html: ````html <input type="checkbox" name="new_user_interests" id="new_user_interests_books" value="books" checked="checked" /> <label for="new_user_interests_books">Books</label> ```` It is not possible to find the checkbox by its label (as it appears to be comparing a Watir::Label object): ````ruby p browser.checkbox(:label, 'Books').exists? #=> false ```` --- Reply to this email directly or view it on GitHub: https://github.com/watir/watir-classic/issues/58
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
