mercredi 13 mars 2019

How to check checkbox using selenium in Python

I have the problem with this checkbox. I tried to click searching element with id,name,xpath,selector and contains text and still i could not click on this checkbox. Additionally I've tried with other site with similar html code and on this site it was enough to look for id and click. Any ideas?

<div class="agree-box-term">
                    <input tabindex="75" id="agree" name="agree" type="checkbox" value="1">
                    <label for="agree" class="checkbox-special">* Zapoznałam/em się z <a href="https://worldbox.pl/content/regulamin,27.html" target="_blank">Regulaminem sklepu internetowego</a> i akceptuję jego postanowienia.<br></label>
                            </div>



Aucun commentaire:

Enregistrer un commentaire