im triying to check this checkbox but i cant because the label contains a link, and somehow selenium is clicking the link intead the checkbox, theres 2 checkbox in this site, i can check the first one just fine, by clicking its label as its just text, but the second checkbox contains a link in its label so c# is clicking the link.. how can i do this?
<span class="step__field__indicator--checkbox"> <svg class="svg-inline--fa fa-check fa-w-16" aria-hidden="true" focusable="false" data-prefix="far" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg><!-- <i class="far fa-check"></i> --> </span>
I have read and accept the Política de privacidad en línea de Blizzard Entertainment® -->
Aucun commentaire:
Enregistrer un commentaire