Answer the question
In order to leave comments, you need to log in
How to find elements on an encrypted web page with Selenium?
I'm trying to authorize an account on rambler.ru using Selenium in Python.
When searching for the login input field from the mail, an exception flies:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@class='rui-Input-input -motrika-nokeys']"}
(Session info: chrome=98.0.4758.102)
from selenium import webdriver
email = "[email protected]"
password_email = "qO&Vgvebui4bfw"
DRIVER = 'chromedriver'
driver = webdriver.Chrome(DRIVER)
driver.maximize_window()
# открываем сайт
driver.get("https://mail.rambler.ru/?utm_source=head&utm_campaign=self_promo&utm_medium=header&utm_content=mail")
# вводим логин почты
# поле логина почты
email_field = driver.find_element_by_xpath("//input[@class='rui-Input-input -motrika-nokeys']").click()
email_field.send_keys(email)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question