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.
On Tuesday, January 27, 2015 at 9:07:30 PM UTC-6, [email protected]
wrote:
>
>
> Hi Super Kevy, Thanks for the suggestions.. unfortunately the set? and
> checked? don't work.
>
> the checkbox, which is the <input type="checkbox"> tag that I indicated
> before doesn't have any other attributes in it. It is placed as a child of
> a label control that has all the attributes that I need.
> <label class="custom-checkbox"> --> now this one changes when the checkbox
> is checked and becomes <label class="custom-checkbox checked">
>
>
>
>
--
--
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.