symfony / panther

A browser testing and web crawling library for PHP and Symfony
MIT License
2.93k stars 218 forks source link

Add support for same-site cookie attribute #386

Open codegain opened 3 years ago

codegain commented 3 years ago

The sameSite cookie attribute support was added in php-webdriver 1.9.0 (https://github.com/php-webdriver/php-webdriver/pull/820)

The sameSite attribute is currently not read in CookieJar from the WebDriverCookie, but could easily be added as the BrowserKit\Cookie already supports a samesite attribute.

dunglas commented 3 years ago

Good idea. PR welcome!