平面设计手机作图软件,seo公司网站,池州网站制作,小皮phpstudy快速搭建网站一、问题记录
1.使用webdriver报错AttributeError: str object has no attribute capabilities 解决:目前使用的selenium版本是4.11.2,可以不必设置driver.exe的路径,selenium可以自己处理浏览器和驱动程序,因此,使用…
一、问题记录
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()