Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23247

how to put checkbox with selenium in pyhon

$
0
0

I can't get a checkbox using python, I've already tried my code like this: checkbox = driver.find_element(By.CLASS_NAME, "styles_formCheckboxInput__eSwKK")checkbox.click()

here is the html code

<div class="styles_formCheckboxWrapper__3zwTe"><label class="styles_formCheckboxLabel__7Gv5E"><input type="checkbox" class="styles_formCheckboxInput__eSwKK"><i aria-hidden="false" class="fa fa-square"></i></label></div>

Viewing all articles
Browse latest Browse all 23247

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>