selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

Chrome: does not work in incognito mode

Open Volnyi opened this issue 6 years ago • 6 comments

Previously, when browser running in incognito mode, Selenium also worked in incognito mode. Now a new window opens on top of incognito. Screenshot - http://prntscr.com/l2gsz4

Worked up to version: 3.3.1 Stopped working in version: 3.4.0 Steps to reproduce the behavior: Open the window incognito Screenshot - http://prntscr.com/l2gqlt Previously, when running in incognito mode, Selenium worked in incognito mode. Now a new window opens on top of incognito. Screenshot - http://prntscr.com/l2gsz4 Expected behavior: Work will take place in an open window in incognito mode. Please provide a project file .side that reproduces this issue: Any .side file

Environment: OS: Windows 10 Selenium IDE Version: 3.4.0 Selenium SIDE Runner Version: 3.4.0

Browser: Google chrome Browser Version: 69.0.3497.100 (64 bit)

Volnyi avatar Oct 05 '18 09:10 Volnyi

Same issue w/ firefox.

There should be at least a setting to enable new window or not. Maybe that might be a short term fix for this issue?

khoallaby avatar Oct 10 '18 18:10 khoallaby

Selenium IDE does not officially support incognito mode, the previous way of doing it was a workaround, which by changing the way we manage sessions (to be close to WebDriver), we have left some users without answers.
Rest assured we will provide a first party solution to launching the windows in incognito mode instead of normal browsing mode.

corevo avatar Oct 10 '18 18:10 corevo

fwiw, the kantu ide works well in incognito mode. I tested it with Firefox and Chrome.

twnew avatar Dec 08 '18 15:12 twnew

any developments on this, interested in incognito mode!

rickyPanzer avatar Feb 18 '20 01:02 rickyPanzer

@rickyPanzer No developments, unfortunately. Adding icognito mode is only half of the solution since the session store for all active icognito sessions would be shared. The proper fix is to spawn a pristine session for each test run, which webdriver does out of the box. This is what we will use in the next major version of the IDE -- playback on webdriver. So for now, this issue is stalled until the next major version.

tourdedave avatar Feb 18 '20 09:02 tourdedave

https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/ has multiple containers, each with independent unshared sessions.

  • I'm not sure whether you can integrate with them or not
  • I'm not sure if there's a Chrome equivalent

...but I thought it might provide some kind of help or inspiration.

HTH,

tnelson-doghouse avatar Jun 30 '22 02:06 tnelson-doghouse