I am working on automation where it downloads files automatically. I need to change the file name in chrome before download starts.
IWebElement button = driver.FindElement(By.Id("ImagshowMR"));
Actions action = new Actions(driver);
action.MoveToElement(button).Perform();
button.Click();
At this button click file start automatic download. Can anyone suggest solution how to rename the file?