Selenium Java version of the installation method and considerations

Source: Internet
Author: User

Selenium Driver Java Version installation method

    1. Download Selenium-java-2.44.0.zip compressed file and unzip to the current folder, unpack and open

    1. Download Selenium-java-client-driver-1.0.2.jar
    2. Download Selenium-server-standalone-2.39.0.jar
    3. Download and install the Firefox browser
    4. Install two plugins in Firefox: Selenium IDE and Firebug
    5. Download and install Eclipse (because the eclipse installation will bring your own JDK) so this will not be necessary to install the JDK separately.
    6. Open Eclipse to create a project and copy the entire contents of the extracted selenium-java-2.44.0.zip into the project directory
    7. Click the project you just created right-select build path and select Configure build path to appear

Select the two items in the red box to add all the jar packages that you just copied to project

    1. Add all the jar packages in the Libs below project, and then add Selenium-java-2.44.0.jar and Selenium-java-2.44.0-srcs.jar

10. Copy and add Selenium-java-client-driver-1.0.2.jar and Selenium-server-standalone-2.39.0.jar to project

11. You can then create a class under Project and start Selenium server before you run class, which describes the startup method for selenium server

How to start Selenium server

Tip: The Selenium-server-standalone-2.39.0.jar has been downloaded in the previous steps

    1. Put Selenium-server-standalone-2.39.0.jar in the specified directory according to your needs (mine is placed in the C packing directory)
    2. Click the Start menu input cmd into the DOS interface, first jump to the C drive and then enter Java–jar Selenium-server-standalone-2.39.0.jar carriage return, that is, the launch of the selenium server, the display effect is as follows:

Precautions

    1. To be selected in the appropriate version of Firefox, some versions of Firefox cannot install selenium IDE and Firebug
    2. Select a higher version of the Selenium Java Zip package, the lower version of selenium may be running the program when the selenium version of the Firefox incompatible with the situation

These are my two days to install selenium some of the steps and methods, welcome to add, thank you.

Selenium Java version of the installation method and considerations

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.