BrowserUse_and_ComputerUse_.../api/clients/browser_rpc_contracts.py

8 lines
218 B
Python

from typing import Any, Protocol
class BrowserRpcError(RuntimeError): ...
class BrowserRpcRunner(Protocol):
async def run(self, task: str, timeout_sec: float, rpc_url: str | None = None) -> dict[str, Any]: ...