hCAPTCHA solver for Python Selenium (any operating system, ChromeDriver and GeckoDriver).

A Selenium Python tool to automatically solve the hCAPTCHAs using a Tampermonkey userscript.Version 1.2.1 (July 19, 2022).

This script is solely intended for the use of educational purposes only and not to abuse any website. The solving speed depends on your PC’s compute power and Internet connection.

Table of contents


git clone https://github.com/mathiasdev/hcaptcha-solver-V2-selenium.git

Installation of Python

  • Download and install Python (version 3.9.11 recommended) according to your operating system.

    • Make sure you add Python in your path by checking the checkbox when you run the installation.
  • Check that your version of Python is correct by typing one of these commands in a command prompt:

    • python --version
    • python3 --version
    • py --version
  • If pip is not installed by default with Python, install pip to be able to have needed Python modules.

  • Verify that pip is correctly installed by typing one of thess commands in a command prompt:

    • pip --version
    • pip3 --version
  • Extract the repository folder from the ZIP file, you should have a folder named hcaptcha-solver-python-selenium-master/.

  • Open a command prompt in the repository folder and type one of these commands (may require sudo on MacOS and Linux and administrator privileges for Windows):

    • pip install -r requirements.txt
    • pip3 install -r requirements.txt
    • python -m pip install -r requirements.txt
    • python3 -m pip install -r requirements.txt
    • py -m pip install -r requirements.txt
  • Download and install Google Chrome and/or Mozilla Firefox.

Simple website to try to solve an hCAPTCHA

  • Open a new tab and go to the website hCAPTCHA test.

  • Website preview:

    Website preview


View Github