SeleniumLibrary icon indicating copy to clipboard operation
SeleniumLibrary copied to clipboard

Headless chrome / Firefox with link click download

Open ashokkumar7 opened this issue 3 years ago • 0 comments

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 ***

ashokkumar7 avatar Jul 26 '22 16:07 ashokkumar7