class Playwright::BrowserContext::StorageStateOptions

Included Modules

Defined in:

playwright/browsercontext.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(path : Path | Nil = nil) #

[View source]

Instance Method Detail

def path : Path | Nil #

The file path to save the storage state to. If #path is a relative path, then it is resolved relative to current working directory. If no path is provided, storage state is still returned, but won't be saved to the disk.


[View source]
def path=(path : Path | Nil) #

The file path to save the storage state to. If #path is a relative path, then it is resolved relative to current working directory. If no path is provided, storage state is still returned, but won't be saved to the disk.


[View source]