class Playwright::BrowserContext::AddCookie
- Playwright::BrowserContext::AddCookie
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
playwright/browsercontext.crConstructors
- .new(name, value, url = nil, domain = nil, path = nil, expires = nil, http_only = nil, secure = nil, same_site = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #domain : String?
- #domain=(domain : String?)
- #expires : Int64?
- #expires=(expires : Int64?)
- #http_only : Bool?
- #http_only=(http_only : Bool?)
- #name : String
- #name=(name : String)
- #path : String?
- #path=(path : String?)
- #same_site : SameSite?
- #same_site=(same_site : SameSite?)
- #secure : Bool?
- #secure=(secure : Bool?)
- #url : String?
- #url=(url : String?)
- #value : String
- #value=(value : String)
Constructor Detail
def self.new(name, value, url = nil, domain = nil, path = nil, expires = nil, http_only = nil, secure = nil, same_site = nil)
#