selenium python by tag name code example
Example 1: driver.find_element_by_xpath
driver.find_element_by_xpath('//*[@id="emailField"]')
Example 2: selenium select element by id
driver.findElement(By.id("ui-datepicker-div"));
driver.find_element_by_xpath('//*[@id="emailField"]')
driver.findElement(By.id("ui-datepicker-div"));