JAVA环境配置
1.下载jdk并安装
https://www.oracle.com/technetwork/java/javase/downloads/index.html
2.配置java的环境变量bin目录
JAVA_HOME: C:\Program Files\Java\jdk1.8.0_202
Path:%JAVA_HOME%\bin
3. 验证java安装正确
java -version
java version “1.8.0_202”
Java™ SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot™ 64-Bit Server VM (build 25.202-b08, mixed mode)
Eclipse IDE
1.下载Eclipse并启动
http://www.eclipse.org/downloads
Selenium Webdriver安装
1.下载WebDriver Java client driver(3.141.59)
https://selenium.dev/downloads/ - selenium-java-3.141.59.zip
下载完后解压有,client-combined-3.141.59.jar,client-combined-3.141.59-sources.jar以及libs目录