jeudi 2 juillet 2020

Selenium check box with python

Using python and selenium webdriver how to select checkboxes with label "Individual/Familiar". Follow the html code.

<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4"><div id="form:tabSub:opt1" class="ui-radiobutton ui-widget"><div class="ui-helper-hidden-accessible"><input id="form:tabSub:tipoContratacao:0_clone" name="form:tabSub:tipoContratacao" type="radio" class="ui-radio-clone" data-itemindex="0" onchange="PrimeFaces.ab({s:&quot;form:tabSub:tipoContratacao&quot;,e:&quot;valueChange&quot;,p:&quot;form:tabSub:tipoContratacao&quot;,u:&quot;form:tabSub:panelBusca&quot;});" /></div><div class="ui-radiobutton-box ui-widget ui-corner-all ui-state-default"><span class="ui-radiobutton-icon ui-icon ui-icon-blank ui-c"></span></div></div><label for="form:tabSub:opt1" style="font-weight: normal !important; vertical-align: middle; margin-top: 0px; margin-left: 4px;">Individual/Familiar</label>



Aucun commentaire:

Enregistrer un commentaire