I would like to program an automatic login to my account on the school system, because I often log in need it. I do the code in Python, I used Selenium and Firefox webdriver: geckodriver-v0.23.0-win64.zip.

When I enter my name and password, I will normally type in the appropriate boxes, but then I will not press enter (which would lead to login), nor is a click on the Log In box accepted.

driver = webdriver.Firefox()
driver.get("https://www.gymkren.cz/isas/prihlasit.php")

name = driver.find_element_by_name("login-isas-username")
name.send_keys("petr.dominik")

password = driver.find_element_by_name("login-isas-password")
password.send_keys("abcd1234").send_keys(Keys.ENTER)

click_to_login = driver.find_element_by_name("login-isas-send")

click_to_login_.click()
click_to_login.send_keys(Keys.ENTER)

I think the problem with webdriver.
What else than webdriver do you think I should use?
Thanks