while I was trying to automate the web browser, I used click method at the end to click the button, I gave button Id to find element but its opening the new automated browser but not clicking on "Start Download" button. I am getting no errors. My code is given below.
from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from selenium.webdriver.common.by import By
from webdriver_manager.chrome import ChromeDriverManager
import time
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()))
driver.get("https://jqueryui.com/resources/demos/progressbar/download.html")
time.sleep(20)
my_element = driver.find_element(By.ID, "downloadButton")
my_element.click()
I tried click method to call the download button but its not working properly.