Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ultrafunkamsterdam/stealthchromedriver
Optimized Selenium Chrome webdriver replacement which PASSES browser automation tests like Distill Network
https://github.com/ultrafunkamsterdam/stealthchromedriver
automation browser chrome chromedriver detection distill headless js python scrape scraping selenium web
Last synced: 17 days ago
JSON representation
Optimized Selenium Chrome webdriver replacement which PASSES browser automation tests like Distill Network
- Host: GitHub
- URL: https://github.com/ultrafunkamsterdam/stealthchromedriver
- Owner: ultrafunkamsterdam
- License: mit
- Created: 2019-08-06T19:00:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-22T13:51:10.000Z (about 5 years ago)
- Last Synced: 2024-12-12T16:02:20.472Z (2 months ago)
- Topics: automation, browser, chrome, chromedriver, detection, distill, headless, js, python, scrape, scraping, selenium, web
- Language: Python
- Size: 49.8 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 testThis 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
```shell
pip install git+https://github.com/ultrafunkamsterdam/stealthchromedriver.git
```### Usage
```pythonfrom stealthchromedriver import Chrome
driver = Chrome()
driver.get('https://www.distilnetworks.com')
# now try this using regular selenium chromedriver
```**with options**
```pythonfrom 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**
```pythonfrom 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
```