给公司做网站需要多少钱,网站的支付系统怎么做的,设计工作室注册流程,app软件平台一、问题记录
1.使用webdriver报错AttributeError: str object has no attribute capabilities 解决#xff1a;目前使用的selenium版本是4.11.2#xff0c;可以不必设置driver.exe的路径#xff0c;selenium可以自己处理浏览器和驱动程序#xff0c;因此#xff0c;使用…一、问题记录
1.使用webdriver报错AttributeError: str object has no attribute capabilities 解决目前使用的selenium版本是4.11.2可以不必设置driver.exe的路径selenium可以自己处理浏览器和驱动程序因此使用Selenium Webdriver创建对象
from selenium import webdriver
wd webdriver.Chrome()