Update README.md

This commit is contained in:
Leon 2019-12-22 14:19:55 +01:00 committed by GitHub
parent d84af53bc1
commit b0029c6594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -10,14 +10,16 @@ Not tested on Chrome higher than 79!
## USAGE ##
#### 1- by far the easiest ####
#### the easy way (recommended) ####
```python
from undetected_chromedriver import Chrome, ChromeOptions
driver = Chrome()
driver.get('https://distilnetworks.com')
```
#### 2- patches selenium module (before importing from selenium!) ####
#### patches selenium module ####
Needs to be done before importing from selenium package
```python
import undetected_chromedriver
undetected_chromedriver.install()
@ -26,7 +28,7 @@ driver = Chrome()
driver.get('https://distilnetworks.com')
````
#### 3 - Customized ####
#### the customized way ####
```python
import undetected_chromedriver