LambdaTest Community

Find answers, support, and inspiration from other users

LambdaTest Community

Selenium Automation + chromedriver

I am trying to automate a web application wherein clicking a link downloads a PDF file. The default behavior of chromedriver should open a pop-up window for confirmation. I am facing issue with the same, In my case the file is directly downloading without prompting.(I need to pop up to change the file name)

Up Vote Down Vote 1 Votes
Posted 5 months ago


My understanding is that there is no easy way to make Selenium download files. Browsers use native dialogs which cannot be controlled by JavaScript.

Why are you downloading a file in the first place?

Check out this for more detail.

Up Vote Down Vote 2 Votes
Posted 5 months ago