I am following a guide on youtube to build a scraper of the website which requires login. However I am facing a problem with the login button click.
Here is the code so far I am using. It open the website, however it does not press the login button.
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(ChromeDriverManager().install())
url = "https://www.URL.COM"
username = 'username'
password = 'password'
driver.get(url)
driver.find_element_by_class_name("login-top ng-scope").click()
The inspect of the login button looks like this:
Any suggestions how to solve the problem?