ProtocolErrorException

Playwright\Exception\ProtocolErrorException

Thrown when a protocol-level error occurs during communication with the browser.

extends PlaywrightException

Methods

__construct()

function __construct( string $message, int $code, private readonly ?string $protocolName = null, private readonly ?string $method = null, private readonly mixed $params = null, private readonly ?string $remoteStack = null, )

getProtocolName()

?string
function getProtocolName(): ?string

getMethod()

?string
function getMethod(): ?string

getParams()

mixed
function getParams(): mixed

getRemoteStack()

?string
function getRemoteStack(): ?string