使用selenium模块控制谷歌浏览器报错:
browser=selenium.webdriver.Chrome()
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/anaconda3/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "visit.py", line 20, in watch_index
browser=webdriver.Chrome()
File "/anaconda3/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
self.service.start()
File "/anaconda3/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 83, in start
os.path.basename(self.path