browser_remove_network_rule
Browser Remove Network Rule
Remove a previously added network interception rule by its ID. The rule immediately stops applying to new requests. Use browser_add_network_rule's returned rule_id to remove specific rules.
Usage Example
123456789101112
import asyncio
from owl_browser import OwlBrowser, RemoteConfig
# Async usage
async with OwlBrowser(config) as browser:
context = await browser.create_context()
context_id = context["context_id"]
await browser.remove_network_rule(
context_id=context_id,
rule_id="value"
)
Parameters
Required
context_idstringrequiredThe unique identifier of the browser context (e.g., 'ctx_000001')
rule_idstringrequiredThe unique identifier of the rule to remove, returned by browser_add_network_rule when the rule was created
Response
Returns a JSON object with the operation result.
{
"success": true,
"result": <value>
}