mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-10-30 14:46:24 +00:00
685 B
685 B
sidebar_label
| sidebar_label |
|---|
| Page.triggerExtensionAction |
Page.triggerExtensionAction() method
Triggers the default action of the specified extension for this page. This simulates clicking the extension's icon in the browser's toolbar.
Signature
class Page {
abstract triggerExtensionAction(extension: Extension): Promise<void>;
}
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
extension |
The Extension whose action to trigger. |
Returns:
Promise<void>