Learn Selenium Webdriver Python 10 most basic things

Selenium Webdriver Python 1. How to invoke a browser in selenium ? from selenium import webdriver driver = webdriver.Chrome(path of the chromedriver located) from selenium import webdriver driver = webdriver.Chrome(r 'F:\chromedriver.exe' ) similarly for other browser: #driver = webdriver.firefox(path of the firefox driver located) #driver = webdriver.ie(path of the ie driver were its located) Note: To invoke a specific browser we need that specific browser driver 2. How to invoke the url of the web application to be automated in the browser ? driver.get(Url of the web application) driver.get( "https://www.google.com/" ) 3. How to find and locate the specific web element on the webpage (like button, icon, etc) ? To find a specific web element: i) R ight click on the web page and select inspect ii) C lick on the ...