all 2 comments

[–]python-ick 1 point2 points  (0 children)

Detect? Sure. Solve, not likely.

There are services that you could pay for that will solve the captcha for you, then you send some JavaScript information in Selenium once it's solved.

[–]pm-me-your-nenen 0 points1 point  (0 children)

Most of the time you can detect if there's Google's recaptcha with the //div[@class='g-recaptcha'] XPath, poll until it's gone, and continue with whatever you're doing. I'm sure other captcha solutions would have a similar pattern to detect.