Undetected GeckoDriver is a wrapper around Selenium's webdriver.Firefox
class. It patches the Firefox binary to bypass detection mechanisms used by services like Cloudflare, Distil Networks, Imperva, and more. This package is intended for use with Selenium to automate web browsing tasks without being detected as a bot. It serves as a drop-in replacement for Selenium's webdriver.Firefox
and can be used in the same way.
You can install the package via pip:
pip install undetected-geckodriver
Here's a basic example of how to use Undetected GeckoDriver:
from undetected_geckodriver import Firefox
driver = Firefox()
driver.get("https://www.google.com")
# Use it like a normal Selenium driver ...
- Python 3.6
- Selenium 4.10.0
Contributions are welcome! Please feel free to open an issue or submit a pull request if you encounter any problems or have any suggestions.
This project is licensed under the MIT License - see the LICENSE file for details.
- ByteXenon - GitHub
- Special thanks to the contributors of the Selenium project.
- Inspiration from the undetected-chromedriver project.