Cookie Serialisation on iOS mobile Devices - Expiry vs Expires

7 views
Skip to first unread message

Kurt Pace

unread,
Jan 19, 2022, 1:37:44 AM1/19/22
to Selenium Users
HI all,

Recently I started executing tests on IOS mobile devices and noticed a difference in the cookie model when retrieving them.

On Chrome and other desktop browsers (including Safari) the property is named "Expiry" which corresponds to the OpenQA.Selenium.Cookie model.

On IOS mobile devices (iPhone) the property is named "Expires".

The cause a serialisation issue and in return the value is always null.

Anyone came across this problem before? Any ideas?

Thanks!
Kurt
Reply all
Reply to author
Forward
0 new messages