When I am trying to download a file from Browser.Download File location popup is displayed .Is there a way to handle this window popup using Selenium 4 ? There is 2 buttons in this popup 1. Cancel and Another is Save.How to Press Cancel using Selenium 4
I have tried using Action Class like new Actions(driver).keyDown(Keys.CANCEL).keyUp(Keys.CANCEL); .But Still not able to close this window based popup .