I'm trying to automate screen captures of a webpage using Kantu UI.Vision. My goal is to capture the page URL at regular intervals and include the current date and time in the file name format (such as dd-mm-yyyy__HH-mm-ss.png
) for each screenshot.
Since I do not have much experience with JavaScript, I am struggling to make the macro calculate the current date and time before each capture.
Has anyone successfully achieved this or knows how to do it?