How do I get Python / Selenium to click a captcha box?
21:33 19 Dec 2025

I'm trying to update a script that allows me to add a guest list to an event using eventbrite for ticketing.

Eventbrite recently changed their login page now requiring a captcha box together with the password. so far it's only a checkbox (without having to match photos or anything like this).

I have a selenium script that adds the login / password to the page, now this is 2 separate pages, one for username, next one for password with a ReCAPTCHA.

Here is what I have for this page

# Add Password and checks captcha box

password = browser.find_element(By.ID, "password").send_keys(pwd)
time.sleep(2)

Now I need code to find the recaptcha element and click the box in it.

Captcha XPath on page is

//*[@id="recaptcha-anchor"]

Suggestions?

selenium-webdriver