JsonRpcClient

Playwright\Transport\JsonRpc\JsonRpcClientInterface

Interface for JSON-RPC client implementations.

Methods

send()

array

Send a JSON-RPC request and wait for response.

function send(string $method, ?array $params = null, ?float $timeoutMs = null): array

sendRaw()

array

Send a raw message in the original format and wait for response.

function sendRaw(array $message, ?float $timeoutMs = null): array

getPendingRequests()

array
function getPendingRequests(): array

cancelPendingRequests()

void
function cancelPendingRequests(): void