driver.find_element(By.XPATH, xp).click() code example Example: driver.find_element_by_xpath driver.find_element_by_xpath('//*[@id="emailField"]')