Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Phantom
Interface Phantom
Index
Properties
args
cookies
cookiesEnabled
libraryPath
onError
scriptName
version
Methods
addCookie
clearCookies
deleteCookie
exit
injectJs
Properties
public
args
:
Array<string>
public
cookies
:
Cookie
[]
public
cookiesEnabled
:
boolean
public
libraryPath
:
string
public
onError
:
(msg: string, trace: string[]) => any
public
scriptName
:
string
public
version
:
{ major: number; minor: number; patch: number; }
public
version.major
:
number
public
version.minor
:
number
public
version.patch
:
number
Methods
public
addCookie
(
cookie
:
Cookie
)
:
boolean
Parameters
cookie:
Cookie
Returns
boolean
public
clearCookies
(
)
public
deleteCookie
(
cookieName
:
string
)
:
boolean
Parameters
cookieName:
string
Returns
boolean
public
exit
(
returnValue
?:
any
)
:
boolean
Parameters
returnValue?:
any
optional
Returns
boolean
public
injectJs
(
filename
:
string
)
:
boolean
Parameters
filename:
string
Returns
boolean
Globals