🐈 can't open file '.selenium_test.py': [Errno 2] No
作成日: 2021/11/12
0

【3日で学べる】PythonでWebスクレイピング・クローリングを極めよう!(Scrapy、Selenium編)

97. Bing検索の自動化

エラーで進められない

selenium % python .\selenium_test.py
/Users/do/.pyenv/versions/anaconda3-2019.10/bin/python: can't open file '.selenium_test.py': [Errno 2] No such file or directory
selenium % python selenium_test.py  
selenium_test.py:4: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
  driver = webdriver.Chrome(executable_path='/path/to/chromedriver')
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home


初学者です