Update README.md

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

View File

@ -7,17 +7,17 @@ Automatically downloads the driver binary and patches it.
Not tested on Chrome higher than 79! Not tested on Chrome higher than 79!
USAGE ## USAGE
### 1- by far the easiest # 1- by far the easiest
```python ```python
from undetected_chromedriver import Chrome, ChromeOptions from undetected_chromedriver import Chrome, ChromeOptions
driver = Chrome() driver = Chrome()
driver.get('https://distilnetworks.com') driver.get('https://distilnetworks.com')
``` ```
### 2- patches selenium module (before importing from selenium!) # 2- patches selenium module (before importing from selenium!)
```python ```python
import undetected_chromedriver import undetected_chromedriver
undetected_chromedriver.install() undetected_chromedriver.install()
@ -26,7 +26,7 @@ driver = Chrome()
driver.get('https://distilnetworks.com') driver.get('https://distilnetworks.com')
```` ````
### 3 - Customized # 3 - Customized
```python ```python
import undetected_chromedriver import undetected_chromedriver
@ -45,4 +45,4 @@ driver = Chrome(options=opts)
driver.get('https://distilnetworks.com') driver.get('https://distilnetworks.com')
``` ```
### 4- a combination of function(s) from this module :) # 4- a combination of function(s) from this module :)