SeleniumLibrary
SeleniumLibrary copied to clipboard
Headless chrome / Firefox with link click download
Hi All
We have observed file download by clicking link button or button click in headless mode for chrome as well as firefox is not working.
Observed it was working without headless. Looks like an an issue.
I have attached sample code below. Please help us over come this issue.
*** Settings *** Documentation File Upload Download in Robot Framework
Library OperatingSystem Library SeleniumLibrary
*** Variables *** ${Browser} ${site}
*** Test Cases *** Verify File Upload Open Browser https://the-internet.herokuapp.com/download headlesschrome Goto https://the-internet.herokuapp.com/download Capture Page Screenshot Click Link //a[contains(text(),'example.json')] Sleep 5 Close Browser
*** Keywords ***