微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

selenium自动化测相关试资源网站

一. JDK

1. 官方下载地址:https://www.oracle.com/java/technologies/javase-downloads.html

2. JDK 安装及配置

 

二、MAVEN

官方下载地址:http://maven.apache.org/download.cgi

2. MAVEN 安装及配置

 

三、各浏览器selenium驱动下载链接  (各驱动版本要与浏览器版本相一致)

1. selenium官方地址: https://www.selenium.dev/

2. 附送:selenium国内镜像网站,打不开selenium官网的可以在此下载! http://npm.taobao.org/mirrors

 

火狐浏览器驱动: 

https://firefox-source-docs.mozilla.org/testing/geckodriver/Support.html

https://github.com/mozilla/geckodriver/releases

IE浏览器驱动:

https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver#required-configuration

https://selenium-release.storage.googleapis.com/index.html

谷歌浏览器驱动:

https://chromedriver.chromium.org/

https://chromedriver.chromium.org/downloads

Edge浏览器驱动:

https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/#downloads

 

四、intelli IDEA

官方下载地址:https://www.jetbrains.com/idea 

1. IDEA汉化:setting-plugins-Marketplace-Chinese (Simplified) Language Pack

 

五、pom.xml jar包

打开IDEA,新建一个Maven项目,

认打开的pom.xml中添加我们需要的SeleniumtestNG

selenium-java
testng

maven的jar包库地址:http://mvnrepository.com/

    <dependencies>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-java</artifactId>
            <version>3.14.0</version>
        </dependency>

        <!-- 与 selenium-java 版本要一致 -->
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-api</artifactId>
            <version>3.14.0</version>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.testng/testng -->
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>7.4.0</version>
        </dependency>
    </dependencies>
View Code

 

六、selenium 浏览器驱动

下载好的驱动,放到你的文件夹中,推荐命名driver,方便辨识

 

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐