On Thursday, January 8, 2015 at 12:26:20 AM UTC-8, mc060200778 wrote: > > HI, > > I want to set following checkbox but it is > shadowed by Label For element. So i can't execute b.checkbox().set > method... it is giving an error. How do i set checbox in this case? > > <input type="checkbox" id="DailySummaryCompleted" class="checkbox col-lg-1 > ng-pristine ng-untouched ng-valid" > data-ng-model="jobReport.DailySummaryCompleted"> > <label for="DailySummaryCompleted"> </label> > > Further, is it still valid issue? "It is not possible to find the > checkbox by its label (as it appears to be comparing a Watir::Label > object):" > https://github.com/watir/watir-classic/issues/56 >
56 was split into issues 57-60 some of which were resolved only about 10 days ago. So you will want to take a look at the most recent code (you can tell rubygems to get it from github) to see if that takes care of your problem of selecting based on the label. -- -- 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.
