ServerFinder

Playwright\Transport\ServerFinder

Finds Playwright server installation and configuration.

Methods

__construct()

function __construct( private readonly ?NodeBinaryResolverInterface $nodeResolver = null, )

findPlaywright()

?string
function findPlaywright(): ?string

getServerScriptPath()

string

Get the path to the Playwright server script.

function getServerScriptPath(): string

findServer()

array

Find server configuration including Node.js binary and Playwright installation.

function findServer(): array