Page 1 of 1

Open browser in new profile or without extension

Posted: Thu Nov 20, 2014 11:23 am
by benson
Hi, not sure if this is a right section or if anyone has posted this before, but i wasn't able to find "browser profile" related topic.

In selenium, a new browser instant is created everytime whenever open browser command is issued. The new instant will always be clean (new profile, without remember password, without plugin), and with pre-configured settings (do not ask for password, allow java, etc).

All these are actually possible through sending flags to browser when opening it. Is this feature available in Ranorex, or is there a way of achieving it easier rather than using usercode?

Thanks in advance,
benson

Re: Open browser in new profile or without extension

Posted: Thu Nov 20, 2014 6:16 pm
by krstcs
If the browser has command-line switches that enable that type of functionality (I know FF does, not sure about the others) then you can use those when you start the browser instance.

However, Ranorex does not include anything like it because not all browsers are the same in this regard and they try to keep it simple.

Re: Open browser in new profile or without extension

Posted: Fri Nov 21, 2014 4:40 am
by benson
chrome does too. unfortunately the command line is to disable all plugins, which make ranorex unable to interact with browser after opening the page. so far i have yet find any workaround for this.

anyone has any idea?

i am doing this to avoid the prompt like "remember password" and autofill problem. my last resolution is to create a nicely customized user profile in chrome and start with the specific profile everytime.

anyone has a better solution to problem like such?

Re: Open browser in new profile or without extension

Posted: Fri Nov 21, 2014 2:23 pm
by krstcs
You can turn off auto-fill and remember passwords in the options of each browser.