Page 1 of 1

Webdriver: start Firerox-Browser in private mode

Posted: Fri Aug 23, 2019 9:54 pm
by Patrick Hollerbach
Hi there,

is it possible to execute a test with a webdriver endpoint in firefox private mode?

I need to use webdriver because ranorex instrumentation in firefox doesn't work here (because of restricted admin rights, long story, don't want to tell).

Thanks,
Patrick

Re: Webdriver: start Firerox-Browser in private mode

Posted: Mon Aug 26, 2019 9:04 am
by odklizec
Hi,

I’m not using webdriver, but I believe you must simply setup webdriver configuration for FF, similar as discussed here:
viewtopic.php?f=4&t=14065&p=54861

And argument for FF running in private mode, should be “private”.

Re: Webdriver: start Firerox-Browser in private mode

Posted: Wed Aug 28, 2019 11:58 am
by Patrick Hollerbach
Hi,

you brought me on the right path, thank you!
Working config:

Code: Select all

{
   "browserName": "firefox",
   "moz:firefoxOptions": {
   "args": [
   "-private"
 ]
 }
}