python driver.find_element_by_tag_name code example Example: selenium select element by id driver.findElement(By.id("ui-datepicker-div"));