Download file with selenium python chrome linux headless
This tutorial will help you to setup Selenium with ChromeDriver on Debian 9 and Debian 8. This tutorial also includes an example of a Java program which uses Selenium standalone server and ChromeDriver and runs a sample test case. When you use Firefox to download a zip or pdf file in selenium webdriver automation test scripts, you may find a download dialog popup which you can not handle always. When you download a pdf use Chrome browser, you may find the pdf is opened in browser tab instead of being downloaded. In this article, we will tell you how to resolve such issues by example.