JsonRpcClient
Playwright\Transport\JsonRpc\JsonRpcClientInterface
Interface for JSON-RPC client implementations.
Methods
send()
arraySend a JSON-RPC request and wait for response.
function send(string $method, ?array $params = null, ?float $timeoutMs = null): array
sendRaw()
arraySend a raw message in the original format and wait for response.
function sendRaw(array $message, ?float $timeoutMs = null): array
getPendingRequests()
arrayfunction getPendingRequests(): array
cancelPendingRequests()
voidfunction cancelPendingRequests(): void