mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
d963fcdd80
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
1.6 KiB
1.6 KiB
sidebar_label |
---|
ExtensionTransport |
ExtensionTransport class
Experimental ExtensionTransport allows establishing a connection via chrome.debugger API if Puppeteer runs in an extension. Since Chrome DevTools Protocol is restricted for extensions, the transport implements missing commands and events.
Signature:
export declare class ExtensionTransport implements ConnectionTransport
Implements: ConnectionTransport
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ExtensionTransport
class.
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
onclose |
|
() => void | |
onmessage |
|
(message: string) => void |
Methods
Method |
Modifiers |
Description |
---|---|---|
| ||