PageEventHandler

Playwright\Page\PageEventHandlerInterface

Methods

publicEmit()

void
function publicEmit(string $event, array $args = []): void

onDialog()

void
function onDialog(callable $handler): void

onConsole()

void
function onConsole(callable $handler): void

onRequest()

void
function onRequest(callable $handler): void

onResponse()

void
function onResponse(callable $handler): void

onRequestFailed()

void
function onRequestFailed(callable $handler): void

onRoute()

void
function onRoute(callable $handler): void