Selenium IDE
(IDE: Integrated development environment)
Using Firefox 40.0.2 version
http://ftp.mozilla.org/pub/firefox/releases/
Log in to any URL and click the IDE button
Click the top right button to start recording--click the top right button to end the recording--click File, Save as format
The Java files are as follows:
-----------------------------------------------------------------------------------
Open Eclipse, create a Java project, and select Libraries, as directed by the arrows into multiple sets of jar files
Download the 2.53/version of the Webdriver jar package
Http://selenium-release.storage.googleapis.com/index.html
Import all the jar packages in the downloaded three folder
The completed project files are as follows (JUNIT4 in the project file right-click-->build path-->configure Build Path)
Project documents See GitHub
Https://github.com/lkws/Selenium-WebDriver/tree/master/WebdriverTest/src/com/WebDriverTest
Selenium the use of the IDE, Selenium webdrive