set_javascript_enabled
Toggle JavaScript execution on or off for a specific browsing context without affecting other tabs.
Instructions
Enable or disable JavaScript execution for a browsing context. Per-context scope via BiDi emulation.setScriptingEnabled — does not affect other tabs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| contextId | No |