Class: SafariCookieQueryStrategy
Defined in: core/browsers/safari/SafariCookieQueryStrategy.ts:55
Strategy for querying cookies from Safari browser. This class extends the BaseCookieQueryStrategy and implements Safari-specific cookie extraction logic.
Extends
BaseCookieQueryStrategy
Constructors
Constructor
new SafariCookieQueryStrategy(
profileName?):SafariCookieQueryStrategy
Defined in: core/browsers/safari/SafariCookieQueryStrategy.ts:63
Creates a new instance of SafariCookieQueryStrategy
Parameters
profileName?
string
Ignored; Safari does not support profile filtering
Returns
SafariCookieQueryStrategy
Overrides
BaseCookieQueryStrategy.constructor
Properties
browserName
readonlybrowserName:"unknown"|"Chrome"|"Firefox"|"Safari"|"internal"
Defined in: core/browsers/BaseCookieQueryStrategy.ts:41
The name of the browser this strategy is for
Inherited from
BaseCookieQueryStrategy.browserName
Methods
queryCookies()
queryCookies(
name,domain,store?,force?):Promise<object[]>
Defined in: core/browsers/BaseCookieQueryStrategy.ts:57
Queries cookies from the browser's cookie store
Parameters
name
string
The name pattern to match cookies against
domain
string
The domain pattern to match cookies against
store?
string
Optional path to a specific cookie store file
force?
boolean
Whether to force operations despite warnings (e.g., locked databases)
Returns
Promise<object[]>
A promise that resolves to an array of exported cookies
Inherited from
BaseCookieQueryStrategy.queryCookies