Extension.triggerAction() method
Triggers the default action of the extension for a specified page. This typically simulates a user clicking the extension's action icon in the browser toolbar, potentially opening a popup or executing an action script.
Signature
class Extension {
abstract triggerAction(page: Page): Promise<void>;
}
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
page |
The page to trigger the action on. |
Returns:
Promise<void>