On Wednesday, January 28, 2015 at 7:27:23 AM UTC-8, Super Kevy wrote:
>
> Based on this syntax try:
>
> <label class="custom-checkbox checked" data-bind="css: { checked:
> isDependent() }, click: toggleAsDependent">
> <span>Dependent to an existing member?</span>
> <input type="checkbox"/>
> <i/>
> </label>
>
>
> @browser.label(:text=>"Dependent to an existing
> member?",:class=>class="custom-checkbox
> checked" ).exists?
> or
> @browser.label(:text,"Dependent to an existing member?").checkbox.set?
>
>
> Not sure why the label is containing the input, that looks weird.
>
>
>
Jack, did this help you solve your problem? or are you still struggling
with this. (some custom controls like this can be a real pain to test
against, but there is usually a way around them.
--
--
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/d/optout.