PuppeteerBrowser
Wrapper of Puppeteer
class
Static Member Summary
Static Public Members | ||
public static get |
|
|
public static get |
|
Static Method Summary
Static Public Methods | ||
public static |
|
|
public static |
|
|
public static |
|
|
public static |
After files changed, the page will be focused & reloaded |
Static Protected Methods | ||
protected static |
async getBrowser(visible: boolean): Browser |
|
protected static |
|
Static Public Members
Static Public Methods
public static async getPage(root: string, path: string, fileChange: function): Page source
Return:
Page | Resolve after |
public static async launch(options: Object): Browser source
Params:
Name | Type | Attribute | Description |
options | Object |
|
https://pptr.dev/#?product=Puppeteer&version=v1.5.0&show=api-puppeteerlaunchoptions |
Return:
Browser |
public static watch(path: string, onChange: function): FSWatcher source
After files changed, the page will be focused & reloaded
Return:
FSWatcher |