1.创建idea,选择maver点击下一步。
2.填写项目名称,点击下一步
3.点击finish,完成创建
4.配置pom.xml依赖包
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.5.3</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.inject&l