Actually my code is simple and the task too, but somehow i get this Error:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"TLoginBox"}
I tried any of the find element and find element by options but none did work. All i found out is that on the website where the login button is, that the button itself somehow is a whole HTML with head, body,...
That's my code:
from selenium.webdriver.common.by import By
from time import sleep
from selenium import webdriver
browser = webdriver.Chrome('F:/trzttrtz/chromedriver_win32/chromedriver')
browser.get('https://www.t-online.de/themen/e-mail')
sleep(5)
login = browser.find_element(By.ID, value="TLoginBox")
login.click()
I am new to programming, so any help means a lot. Thanks in advance.