kazurayam / chromedriverfactory

A Java library that enables you to launch Selenium ChromeDriver using an existing user Profile. That let you to carry cookies over multiple HTTP sessions via user Profile.
0 stars 0 forks source link

want to override org.openqa.selenium.Cookie#toString() method to make it compliant to RFC7231 Data-time format #3

Closed kazurayam closed 2 years ago

kazurayam commented 2 years ago

org.openqa.selenium.Cookie#toString() produces such string as default

timestamp=Sat, 01 Jan 2022 04:24:21 GMT; expires=土, 01 1 2022 01:24:51 JST; path=/; domain=127.0.0.1

Cookie expiry is specified to be a string compliant to RF7231. On the other hand the above string representation is not conformant to the spec. This is confusing.