Browser Arguments Config Example


#1

Hi there,

I did not find any example for setting browser arguments via default.properties file (“xlt.webDriver.chrome.browserArgs =”).

Can you help here by providing an example for multiple browser arguments? E.g. ‘–disable-dev-shm-usage’ and ‘–no-sandbox’

Kind Regards
Michael


#2

Hi Michael,

You can pass multiple arguments by simply joining them with one or more whitespace characters.

For example:

xlt.webDriver.chrome.browserArgs=--no-sandbox --disable-dev-shm-usage

Thanks,
Hartmt


#3

Thank you, it works!


closed #4

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.