I use ActiveBrowser.Cookies.GetCookies(BaseUri); to get browser cookie, cookie is got, but all expired cookie. The same code if I set chrome not headless, which could get un-expired cookie. Is it not supported yet?
Chrome headless:
Chrome:
Elena
Telerik team
commented on 25 Apr 2024, 02:00 PM
Hi Jun,
As far as I understand you are running the tests in Chrome in its mode using extension. Please, change the test settings so that the test runs in Chrome without the extension. Then let me know if getting the cookies sets these with expired dates again.
If so, please, prepare a sample test/code to share which runs against a public accessible page - this will allow me to reproduce the misbehavior and continue working on it.
Hi Jun,
As far as I understand you are running the tests in Chrome in its mode using extension. Please, change the test settings so that the test runs in Chrome without the extension. Then let me know if getting the cookies sets these with expired dates again.
If so, please, prepare a sample test/code to share which runs against a public accessible page - this will allow me to reproduce the misbehavior and continue working on it.
Regards,
Elena