RawPlaywrightContext
Playwright\Behat\Context\RawPlaywrightContext
Base class for project contexts that drive the browser without inheriting
the built-in steps. Extend it and use getPage() in your own step methods.
$ composer require playwright-php/playwright-behat
Methods
setPlaywrightManager()
voidfunction setPlaywrightManager(PlaywrightManager $manager): void
getPlaywrightManager()
PlaywrightManagerfunction getPlaywrightManager(): PlaywrightManager
getPage()
PageInterfaceThe page of the current scenario, opened on first call.
function getPage(): PageInterface
getBrowser()
BrowserInterfacefunction getBrowser(): BrowserInterface