运行之后,没反应,然后等了几秒就报错了
网上的解决办法用了许多,都不管用
你好
from selenium.webdriver import Chrome
from parsel import Selector
def f_main():
browser = Chrome( executable_path='C:/img/chromedriver.exe')
browser.get('http://www.baidu.com')
if __name__ == '__main__':
f_main()
试试这个
https://blog.csdn.net/m0_50027019/article/details/121551067
可以看看是不是谷歌浏览器驱动版本不对的问题?