PlaywrightClient
Playwright\PlaywrightClient
Methods
__construct()
function __construct( private readonly TransportInterface $transport, private readonly LoggerInterface $logger, private readonly PlaywrightConfig $config, )
chromium()
BrowserBuilderfunction chromium(): BrowserBuilder
firefox()
BrowserBuilderfunction firefox(): BrowserBuilder
webkit()
BrowserBuilderfunction webkit(): BrowserBuilder
launchServer()
BrowserServerInterfaceLaunch a persistent browser server and return a handle to control it.
function launchServer(string $browser, array $options = []): BrowserServerInterface
selectors()
SelectorsInterfacefunction selectors(): SelectorsInterface
close()
voidfunction close(): void
__destruct()
function __destruct()