from selenium import webdriver
driver = webdriver.Chrome(executable_path='/Users/alexey/Dropbox/Мой\ Mac\ \(FeelQueen’s\ iMac\)/Downloads/chromedriver ; exit;')
ПРописывал путь /Downloads/chromedriver, оставлял просто круглые скобки, но все равно вот эта ошибка
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/common/service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/alexey/Dropbox/Мой\\ Mac\\ \\(FeelQueen’s\\ iMac\\)/Downloads/chromedriver ; exit;'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/alexey/Dropbox/Мой Mac (FeelQueen’s iMac)/Documents/python/automation.py", line 3, in <module>
driver = webdriver.Chrome(executable_path='/Users/alexey/Dropbox/Мой\ Mac\ \(FeelQueen’s\ iMac\)/Downloads/chromedriver ; exit;')
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
self.service.start()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/common/service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver ; exit;' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
Помогите пожалуйста
; exit;
там в конце зачем?