Skip to main content

Create Local Undetectable Chrome Driver

Project description

Create Local Undetectable Chrome Driver (LUCD)

This program will download and patch a Chrome driver to make it undetectable. So that you can use an undetectable Chrome driver for your Python Selenium code.

Passed the antibot test

What it does:

  • Download the exact chrome driver based on your OS and installed chrome version.

  • Remove browser control flag

  • Remove signature in javascript

  • Set User-Agent

  • Use maximum resolution

  • Open Chrome Instance on debugging mode

  • Control an existing Chrome instance.

  • Unmute the sounds of the browser.

  • Save/ load Chrome profiles.

  • Run Chrome driver on headless mode.

Installation

$ pip install lucd 

or

$ pip install git+https://github.com/SelmiAbderrahim/CreateUndetectableChromeDriver

Usage


from lucd.driver import Driver
driver = Driver()
chrome = driver.create_driver()

chrome.get("https://selmi.tech")


Tests

Install pytest:

pip install pytest

Run the pytest script:

pytest lucd/tests/

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lucd-0.1.6.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

lucd-0.1.6-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page