Help beginner python code?

pl
3

I have a problem with this code:

from selenium import webdriver

from selenium.webdriver.common.by import By

import time

driver = webdriver.Edge ()

driver. Get ("https://minecraft-server.eu/vote/index/2002D/Derneox_")

time.sleep (10)

element = driver.find_element_by_name ("Vote!")

element.click ()

He should give on the Minecraft Votewebside and click on Vote. Is the problem that I have not installed the correct one or is the programming wrong

Re

I have a problem with this code:

Unfortunately, you're not going to reveal what the problem is.

pl

Does that help?

sorry am still a total beginner

Re

Message: 'MicrosoftWebDriver.exe' executable needs to be in PATH. Please download from
http://go.microsoft.com/...kId=619687

There's an error message that even tells you the solution.