Skip to content

Optimized Selenium Chrome webdriver replacement which PASSES browser automation tests like Distill Network

License

Notifications You must be signed in to change notification settings

ultrafunkamsterdam/stealthchromedriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DON'T USE THIS REPO, PLEASE USE MY undetected-chromedriver project

(https://github.com/ultrafunkamsterdam/undetected-chromedriver)

.

STEALTHCHROMEDRIVER

Selenium Chromedriver which PASSES Distil browser automation test

This is a drop-in replacement for selenium.webdriver.Chrome using optimization and older build of Chromium to bypass all current browser-automation-detection systems, with the most important one being Distill Networks.

Installation

pip install git+https://github.com/ultrafunkamsterdam/stealthchromedriver.git

Usage

from stealthchromedriver import Chrome

driver = Chrome()
driver.get('https://www.distilnetworks.com')
# now try this using regular selenium chromedriver

with options

from stealthchromedriver import getDriver
driver = getDriver(headless=False,verify_ssl=False, custom_ua="",profile_directory="Default",prefs=None,language="en")
driver.get('https://distillnetworks.com')

# now try this using regular selenium chromedriver

with custom options

from stealthchromedriver import Chrome, ChromeOptions

options = ChromeOptions()
options.add_argument('--proxy-server=socks5://127.0.0.1:9050')
options.add_argument('--non-secure')

driver = Chrome(options=options)
driver.get('https://distillnetworks.com')

# now try this using regular selenium chromedriver

About

Optimized Selenium Chrome webdriver replacement which PASSES browser automation tests like Distill Network

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages