原文:Selenium+Python调Chrome浏览器时报Traceback (most recent call last): File "C:/Users/EDZ/Desktop/selenium_demo/demo001.py", line 12, in

上次使用Selenium Python还是好几个月前了 今天想再用一下,结果写个打开网站的小demo报错,报错如下: 检查了一下,查看报错日志,应该是chrome版本和driver版本不一致导致的。 于是要重新下载对应的新的driver版本。 查看自己chrome版本如下: 安装webdriver 各大浏览器webdriver地址可参见: https: docs.seleniumhq.org do ...

2020-06-24 15:29 2 5028 推荐指数:

查看详情

Traceback (most recent call last)

1.AttributeError: module 'urllib.response' has no attribute 'read' 代码:   1) python3中应该     import urllib.request   2)代码改为 ...

Tue May 26 02:39:00 CST 2020 0 5120
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM