How to avoid hCaptcha with Selenium WebDriver

Prevent selenium driven automation from being detected

First of all, Captcha if was put there on purpose, automation scripts cannot go past it, as that’s what Captcha is designed for. In software testing, a typical approach to Captcha in test automation is to disable Captcha in the test server environment(s). This makes sense, it is internal testing. Do people install locks on every door inside their house?

However, when working with external websites, some activates hCaptcha (or reCaptcha)…