Hi,
m trying a simple script of logging into gmail
my script identifies the username box but doesnt identify the password box.
i see that when u enter the username and click next the page doesnt refresh or load it just gets the password box.
what selenium command should be used to detect the same?
from selenium import webdriver
driver = webdriver.Firefox()
driver.get("
https://www.google.com/")
driver.maximize_window()
driver.find_element_by_partial_link_text("Gmail").click()
driver.find_element_by_partial_link_text("Sign in").click()
driver.find_element_by_xpath(".//*[@id='Email']").send_keys("<username>")
driver.find_element_by_id("next").click()
driver.find_element_by_name("Passwd").click()
driver.send_keys("<password>")
for the password textbox i have tried all xpath, id etc but nothing worked.