🚀 Feature Proposal
According to WebDriver specification of Add Cookie it should be possible to set various cookie attributes, like domain and expiration time. However, constructor of Cookie class in dotnet bindings doesn't have parameters for 3 of them: Secure, HttpOnly, SameSite.
|
public Cookie(string name, string value, string domain, string path, DateTime? expiry) |
Would be great to have them like guys in js do :)
|
addCookie({ name, value, path, domain, secure, httpOnly, expiry, sameSite }) { |
Motivation
.
Example
.