I have a website and I promise no one can log in to it with selenium here you are: https://edu.usc.ac.ir/Forms/AuthenticateUser/main.htm
This page has a different code from what you see, and I would like to crawl it with Selenium.
I write the below code :
from selenium import webdriver
import time
url = "https://edu.usc.ac.ir/Forms/AuthenticateUser/main.htm"
driver = webdriver.Chrome('chromedriver.exe')
driver.get(url)
time.sleep(5)
username = driver.find_element_by_id("F80351")
password = driver.find_element_by_id("F80401")
When I use this code I get this error:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"F80351"}``
I can't figure out why it can't find the element that exists in this page.