Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
browser-harness
DriverEvents
Class DriverEvents
Hierarchy
EventEmitter
DriverEvents
Index
Methods
addListener
emit
listeners
on
once
removeAllListeners
removeListener
setMaxListeners
Methods
public
addListener
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
emit
(
event
:
string
, args
?:
Array<any>
)
:
boolean
Parameters
event:
string
args?:
Array<any>
optional
Returns
boolean
public
listeners
(
event
:
string
)
:
Array<Function>
Parameters
event:
string
Returns
Array<Function>
public
on
(
event
:
string
, listener
:
(text: string) => void
)
:
EventEmitter
Parameters
event:
string
listener:
(text: string) => void
Returns
EventEmitter
public
on
(
event
:
"'console.log'"
, listener
:
(text: string) => void
)
:
EventEmitter
Parameters
event:
"'console.log'"
listener:
(text: string) => void
Returns
EventEmitter
public
on
(
event
:
"'console.warn'"
, listener
:
(text: string) => void
)
:
EventEmitter
Parameters
event:
"'console.warn'"
listener:
(text: string) => void
Returns
EventEmitter
public
on
(
event
:
"'console.error'"
, listener
:
(text: string) => void
)
:
EventEmitter
Parameters
event:
"'console.error'"
listener:
(text: string) => void
Returns
EventEmitter
public
on
(
event
:
"'window.onerror'"
, listener
:
(text: string) => void
)
:
EventEmitter
Parameters
event:
"'window.onerror'"
listener:
(text: string) => void
Returns
EventEmitter
public
once
(
event
:
string
, listener
:
(text: string) => void
)
:
EventEmitter
Parameters
event:
string
listener:
(text: string) => void
Returns
EventEmitter
public
once
(
event
:
"'console.log'"
, listener
:
(text: string) => void
)
:
EventEmitter
Parameters
event:
"'console.log'"
listener:
(text: string) => void
Returns
EventEmitter
public
once
(
event
:
"'console.warn'"
, listener
:
(text: string) => void
)
:
EventEmitter
Parameters
event:
"'console.warn'"
listener:
(text: string) => void
Returns
EventEmitter
public
once
(
event
:
"'console.error'"
, listener
:
(text: string) => void
)
:
EventEmitter
Parameters
event:
"'console.error'"
listener:
(text: string) => void
Returns
EventEmitter
public
once
(
event
:
"'window.onerror'"
, listener
:
(text: string) => void
)
:
EventEmitter
Parameters
event:
"'window.onerror'"
listener:
(text: string) => void
Returns
EventEmitter
public
removeAllListeners
(
event
?:
string
)
:
EventEmitter
Parameters
event?:
string
optional
Returns
EventEmitter
public
removeListener
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
Globals
NodeJS
assert
browser-harness
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
config
events
Driver
ElementProxy
Browser
DriverEvents
addListener
emit
listeners
on
once
removeAllListeners
removeListener
setMaxListeners
HarnessEvents
listen