From blog.softwaretestingclub.com:
A look at the common Selenium commands and locator methods. In my first post I introduced Selenium IDE and stepped through creating and running your first test case and test suite. In this second post I am going to introduce some of the basic commands in Selenium, and the various methods used to locate elements with Selenium.