2019-02-08 02:03:48 +00:00
|
|
|
const Events = {
|
|
|
|
Page: {
|
|
|
|
Close: 'close',
|
|
|
|
Console: 'console',
|
|
|
|
Dialog: 'dialog',
|
|
|
|
DOMContentLoaded: 'domcontentloaded',
|
|
|
|
FrameAttached: 'frameattached',
|
|
|
|
FrameDetached: 'framedetached',
|
|
|
|
FrameNavigated: 'framenavigated',
|
|
|
|
Load: 'load',
|
|
|
|
PageError: 'pageerror',
|
2019-02-09 03:21:54 +00:00
|
|
|
Popup: 'popup',
|
2019-02-13 01:38:48 +00:00
|
|
|
Request: 'request',
|
|
|
|
Response: 'response',
|
|
|
|
RequestFinished: 'requestfinished',
|
|
|
|
RequestFailed: 'requestfailed',
|
2019-02-08 02:03:48 +00:00
|
|
|
},
|
|
|
|
Browser: {
|
2019-02-16 01:57:48 +00:00
|
|
|
Disconnected: 'disconnected',
|
2019-02-08 02:03:48 +00:00
|
|
|
TargetCreated: 'targetcreated',
|
|
|
|
TargetChanged: 'targetchanged',
|
|
|
|
TargetDestroyed: 'targetdestroyed',
|
|
|
|
},
|
|
|
|
BrowserContext: {
|
|
|
|
TargetCreated: 'targetcreated',
|
|
|
|
TargetChanged: 'targetchanged',
|
|
|
|
TargetDestroyed: 'targetdestroyed',
|
|
|
|
},
|
|
|
|
|
|
|
|
Connection: {
|
|
|
|
Disconnected: Symbol('Events.Connection.Disconnected'),
|
|
|
|
},
|
2019-02-09 02:54:11 +00:00
|
|
|
|
2019-02-19 21:20:39 +00:00
|
|
|
JugglerSession: {
|
|
|
|
Disconnected: Symbol('Events.JugglerSession.Disconnected'),
|
|
|
|
},
|
|
|
|
|
2019-02-09 02:54:11 +00:00
|
|
|
FrameManager: {
|
|
|
|
Load: Symbol('Events.FrameManager.Load'),
|
|
|
|
DOMContentLoaded: Symbol('Events.FrameManager.DOMContentLoaded'),
|
|
|
|
FrameAttached: Symbol('Events.FrameManager.FrameAttached'),
|
2019-02-13 01:38:48 +00:00
|
|
|
FrameNavigated: Symbol('Events.FrameManager.FrameNavigated'),
|
2019-02-09 02:54:11 +00:00
|
|
|
FrameDetached: Symbol('Events.FrameManager.FrameDetached'),
|
2019-02-13 01:38:48 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
NetworkManager: {
|
|
|
|
Request: Symbol('Events.NetworkManager.Request'),
|
|
|
|
Response: Symbol('Events.NetworkManager.Response'),
|
|
|
|
RequestFinished: Symbol('Events.NetworkManager.RequestFinished'),
|
|
|
|
},
|
2019-02-08 02:03:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = {Events};
|