ProcessJsonRpcClient
Playwright\Transport\JsonRpc\ProcessJsonRpcClient
JSON-RPC client that communicates with a Playwright process via stdin/stdout.
extends JsonRpcClient implements JsonRpcClientInterface
Methods
__construct()
function __construct( private readonly Process $process, private readonly ProcessLauncherInterface $processLauncher, ?ClockInterface $clock = null, ?LoggerInterface $logger = null, float $defaultTimeoutMs = 30000.0, )
setEventHandler()
voidfunction setEventHandler(?\Closure $eventHandler): void