Playwright

Playwright\Playwright

Methods

chromium()

BrowserContextInterface
function chromium(array $options = []): BrowserContextInterface

firefox()

BrowserContextInterface
function firefox(array $options = []): BrowserContextInterface

webkit()

BrowserContextInterface
function webkit(array $options = []): BrowserContextInterface

safari()

BrowserContextInterface

Alias for WebKit to match common browser naming.

function safari(array $options = []): BrowserContextInterface

selectors()

SelectorsInterface

Selector engine registry shared by every browser this class launches. Engines must be registered before the pages that use them are created.

function selectors(): SelectorsInterface