DocsIPC Testingipc_tests_abort

ipc_tests_abort

Ipc Tests Abort

Abort a running IPC test. Sends SIGTERM to the test process and waits for graceful shutdown. Use when a test is taking too long or needs to be cancelled.

Usage Example

1234567891011
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.ipc_tests_abort(
run_id="value"
)

Parameters

Required

run_idstringrequired

The unique run ID of the test to abort.

Response

Returns a JSON object with the operation result.

{
  "success": true,
  "result": <value>
}