Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97785

Selenium Python - How do I make my program to click an particular element when it appeared?

$
0
0

I'm trying to make a bot that automatically opens my server for me. The problem is there's a human verification check in that website. When the number of people in the queue is less than 300 a button appears. I want my bot to click that button when it appears but I dunno how to do it.

Xpath of that button is //*[@id="confirm"]


Viewing all articles
Browse latest Browse all 97785

Trending Articles



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