inject_hook
Injects a created hook into a page, a specific worker, or all workers to intercept JavaScript execution and enable debugging.
Instructions
Inject a created hook into the page or worker(s). target: "page" | "worker:" | "all-workers" (default "page").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hookId | Yes | ||
| target | No |