remove_init_script
Stops a previously added browser init script by its session-specific ID; already loaded pages keep the script's earlier effects.
Instructions
Stop running an init script added by add_init_script; pages already loaded keep what it did. Fails on an id the session doesn't have; get_emulation lists them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id add_init_script returned. | |
| sessionId | Yes | The id returned by open_browser_session. Errors if no open session has it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network throttling; null means none. | |
| initScripts | Yes | ||
| cpuThrottlingRate | Yes | CPU slowdown factor; 1 means none. |