Hello i am trying to build a program that logins the twitter automaticaly by using the username and password informations with selenium module. I am getting an error which basically says it cannot find the element. This is the code i wrote
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
username=""
password=""
driver=webdriver.Firefox(executable_path=r'C:\geckodriver-v0.31.0-win64\geckodriver.exe')
driver.get("https://twitter.com/i/flow/login")
usernameInput=driver.find_element(By.NAME,"text")
i also applied the same process by using xpath instead of name, it didin't work either. I am dropping a screenshot of where i got the name tag:

Error message:
raise exception_class(message, screen, stacktrace) selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [name="text"] Stacktrace: RemoteError@chrome://remote/content/shared/RemoteError.jsm:12:1 WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:192:5 NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.jsm:404:5 element.find/</<@chrome://remote/content/marionette/element.js:291:16