java做电影广告网站,知乎seo,汕头市企业网站建设哪家好,成都编程培训机构排名一、问题记录
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()