PlaywrightClient

Playwright\PlaywrightClient

Methods

__construct()

function __construct( private readonly TransportInterface $transport, private readonly LoggerInterface $logger, private readonly PlaywrightConfig $config, )

chromium()

BrowserBuilder
function chromium(): BrowserBuilder

firefox()

BrowserBuilder
function firefox(): BrowserBuilder

webkit()

BrowserBuilder
function webkit(): BrowserBuilder

launchServer()

BrowserServerInterface

Launch a persistent browser server and return a handle to control it.

function launchServer(string $browser, array $options = []): BrowserServerInterface

selectors()

SelectorsInterface
function selectors(): SelectorsInterface

close()

void
function close(): void

__destruct()

function __destruct()