mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
38 lines
963 B
JavaScript
38 lines
963 B
JavaScript
const Events = {
|
|
Page: {
|
|
Close: 'close',
|
|
Console: 'console',
|
|
Dialog: 'dialog',
|
|
DOMContentLoaded: 'domcontentloaded',
|
|
FrameAttached: 'frameattached',
|
|
FrameDetached: 'framedetached',
|
|
FrameNavigated: 'framenavigated',
|
|
Load: 'load',
|
|
PageError: 'pageerror',
|
|
Popup: 'popup',
|
|
},
|
|
Browser: {
|
|
TargetCreated: 'targetcreated',
|
|
TargetChanged: 'targetchanged',
|
|
TargetDestroyed: 'targetdestroyed',
|
|
},
|
|
BrowserContext: {
|
|
TargetCreated: 'targetcreated',
|
|
TargetChanged: 'targetchanged',
|
|
TargetDestroyed: 'targetdestroyed',
|
|
},
|
|
|
|
Connection: {
|
|
Disconnected: Symbol('Events.Connection.Disconnected'),
|
|
},
|
|
|
|
FrameManager: {
|
|
Load: Symbol('Events.FrameManager.Load'),
|
|
DOMContentLoaded: Symbol('Events.FrameManager.DOMContentLoaded'),
|
|
FrameAttached: Symbol('Events.FrameManager.FrameAttached'),
|
|
FrameDetached: Symbol('Events.FrameManager.FrameDetached'),
|
|
}
|
|
};
|
|
|
|
module.exports = {Events};
|