Set variable to browser.download.dir in configuration

Hi test friends,

i need download file in Firefox to specific folder. And path to folder should be variable. I do this way >

and in TC >

def downloadPath = ‘c:\\\Temp’

WebUI.click(findTestObject(‘IB/Accounts/Statements/text_StatementsRow1ABO’))

But after execution TC is file download in to default browser directory :frowning:

Any advice?

Thanks a lot.

Milan

image.png