Python3 webdriver.Chrome()报错

2024-10-18 17:45:01

1、首先,打开py文件,如图,有如下代码。import timefrom selenium import webdriverdriver = webdriver.Chrome()

Python3 webdriver.Chrome()报错

3、如果这样就会提示报错FileNotFoundError: [WinError 2]系统找不到指定文件,如图。

Python3 webdriver.Chrome()报错

5、然后,再运行run——run module

Python3 webdriver.Chrome()报错
猜你喜欢