I cannot login to this site.
This is the url.
https://swayam.gov.in/azurelogin?continue=/
What I tried:
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://swayam.gov.in/azurelogin?continue=/")
login_google_btn = driver.find_element_by_xpath('//*[@id="GoogleExchange"]')
login_google_btn.click()
I need to login with google and hence required to click that button.
Output:
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate
element: {"method":"xpath","selector":"//*[@id="next"]"}
(Session info: chrome=80.0.3987.106)
Then, I checked to send keys to the username and password fields, but encountered similar error.
What's going wrong?