X
Tap here to go to the mobile version of the site.

Support Forum

Session cookies not kept when browser is under remote control

Posted

I am running Selenium automated tests in Firefox. The problem is that, when running tests on Firefox, the browser is open in "Browser is under remote control" mode and then the session cookies are not kept when the browser is closed.

If I authenticate on my web app out of this "Browser is under remote control" mode, the ai_session cookie is kept as expected. It only is discarded when I am on that mode.

Taking that into account:

1. Is there a way to configure Firefox to keep session cookies even when running in the "Remote control" mode? 2. When configuring Selenium WebDriver, is there some option that allows me to force the browser to keep the session cookies?

I am running Selenium automated tests in Firefox. The problem is that, when running tests on Firefox, the browser is open in "Browser is under remote control" mode and then the session cookies are not kept when the browser is closed. If I authenticate on my web app out of this "Browser is under remote control" mode, the ai_session cookie is kept as expected. It only is discarded when I am on that mode. Taking that into account: 1. Is there a way to configure Firefox to keep session cookies even when running in the "Remote control" mode? 2. When configuring Selenium WebDriver, is there some option that allows me to force the browser to keep the session cookies?
Attached screenshots
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

More Information

hellosct1
  • Top 25 Contributor
14 solutions 145 answers

Hi,

of memory, there is the possibility to create connection tests and therefore have session cookies you have to ask for help from the Selenium side because it's been a long time since I've done this

Thank's

Hi, of memory, there is the possibility to create connection tests and therefore have session cookies you have to ask for help from the Selenium side because it's been a long time since I've done this Thank's
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.