backwards compatibility

```
import undetected_chromedriver as uc
uc.TARGET_VERSION = 79
uc.install()
```
This commit is contained in:
Leon 2020-02-25 18:14:20 +01:00 committed by GitHub
parent f90b7354b9
commit 10031a295f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class ChromeDriverManager(object):
def __init__(self, executable_path=None, target_version=None, *args, **kwargs):
self.executable_path = executable_path or "chromedriver.exe"
self.platform = sys.platform
self.target_version = target_version
self.target_version = target_version or TARGET_VERSION
def patch_selenium_webdriver(self_):