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()
?stringfunction getProtocolName(): ?string
getMethod()
?stringfunction getMethod(): ?string
getParams()
mixedfunction getParams(): mixed
getRemoteStack()
?stringfunction getRemoteStack(): ?string