i want login to Google with ahk
enter email works
enter PW not work
here my script anyone can help fix it?
Code: Select all
logingoogle:
WB := ComObjCreate("InternetExplorer.Application")
WB.Visible := true
WB.Navigate("https://accounts.google.com/ServiceLogin?sacu=1&continue=https%3A%2F%2Faccounts.google.com%2FManageAccount&hl=en#identifier")
While wb.readyState != 4 || wb.document.readyState != "complete" || wb.busy
Sleep, 1000
wb.document.GetElementById("identifierId").value := "[email protected]"
Sleep, 1000
wb.document.getElementById("identifierNext").click()
Sleep, 1000
wb.document.getElementsByClassName("password").value := "xxxxxx"
Sleep, 1000
wb.document.getElementById("identifierNext").click()
Sleep, 1000
tooltip, End
return