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()
Jenkins 下载,安装 下载OpenJDK 11 for Wndows 两种方式
choco install openjdk11
https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.20%2B8/OpenJDK11U-jdk_x64_windows_hotspot_11.0.20_8.msi how to enable administrator user to …