--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CADT5rEKq8MDd6yidRiAGP2G46SEa-rCGVJhh4F9NgWxrysMMeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CADrrHivnrEwFfOS2jMiL%3DiqY06RpYhCOxHwDc6sr31pX3qFKzA%40mail.gmail.com.
Thank you but duplicate label exists in same page but check box with that label only once.Any help?
Use ,//label[text()='Super User']ThanksJegadeesh
On Feb 24, 2017 1:08 AM, "Sujith C S" <sujit...@gmail.com> wrote:
How do we click a checkbox based on label text && type checkbox?
<span class="GTM_1_King"><div class="jcf-unselectable jcf-class-selectFocus jcf-class-chkFilterOption jcf-class-roomPreferencesFilterNarrowResults chk-area chk-checked"><span/></div><input id="K" class="selectFocus chkFilterOption roomPreferencesFilterNarrowResults jcf-hidden" data-operation="AND" data-code="K" data-name="1 King" filter-code="Room Preference" data-filter="roomPreferencesFilterNarrowResults" checked="checked" type="checkbox"/><label class="chk-label-active" for="K" style="float:left">Super User </label></span>--like this .//*[@type='checkbox'] && label = Super UserThanks
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CADT5rEKq8MDd6yidRiAGP2G46SEa-rCGVJhh4F9NgWxrysMMeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CADrrHivnrEwFfOS2jMiL%3DiqY06RpYhCOxHwDc6sr31pX3qFKzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/AA93DC04-5FD8-45F8-BBC3-2CF102632D85%40gmail.com.