Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Session cookies not kept when browser is under remote control

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 hellosct1

more options

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?
已附加屏幕截图

所有回复 (1)

more options

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