Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Session cookies not kept when browser is under remote control

  • 1 trả lời
  • 1 gặp vấn đề này
  • 40 lượt xem
  • Trả lời mới nhất được viết bởi 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?
Đính kèm ảnh chụp màn hình

Tất cả các câu trả lời (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