Why can’t Selenium find the element I specified in my code even though it’s in the HTML?
I’m learning how to automate navigating through a website using Selenium on Python 3.9.2 using ChromeDriver and I’m stuck at the login page of GitHub, which is the website I’m practicing with. This is the code I used to automate logging in:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By