I am currently working on developing a JavaScript-based web application. The webpage I have created consists of just one button, which when clicked, retrieves data from another website and saves it to my Mongo database.
My goal is to automate this process of clicking the button so that the entire data retrieval and storage operation happens without any manual input. Essentially, I want this task to be performed automatically at predefined intervals (e.g., every day at 6 PM).
Although I have heard about Selenium as a potential solution for automating this task, I am unsure if it can achieve what I need. Furthermore, I have attempted to use the tool by downloading a '.jar' file but have been unable to get it to work. Any guidance or assistance would be greatly appreciated!