Selenium 1.0 vs Selenium 2.0 (Selenium Web-driver)
Selenium is browser automation tool, for more information select this link . We already have Selenium1.0, why Selenium2.0? Selenium1.0 can't tackle following items. 1. Native keyboard and mouse events. 2. Same origin policy XSS/HTPP(S) 3. Pop-ups, dialogs (Basic authentication, Self signed certificates and File upload/download) Selenium2.0 has cleaner API, webdriver and webelements object, better abstraction. //Web driver object browser = webdriver.firefox() //Web element object, to refer any object on the browser search_box_google = browser.find_element_name('q') Support of mobile devices-