These steps run the same file download test twice:
- Once in GUI mode.
- Once in headless mode.
For me, the download never starts or completes in headless mode.
Bug: Issue 916113: Unable to download a file when using in headless mode (selenium, chromedriver)
Prerequisites:
- Chrome or Chromium installed.
- npm and node available on the path.
These instructions have been tested on both Windows and Ubuntu 18.04:
git clone https://gist.github.com/1fbde6d451a46c60519e7b92a67b2c38.git DownloadBugRepro
cd DownloadBugRepro
npm install
node index.js