PlaywrightContext
Playwright\Behat\Context\PlaywrightContext
Ready-made steps for the most common browser interactions.
Selectors are Playwright selectors: CSS by default, plus text=, role= and
the other engines Playwright supports.
$ composer require playwright-php/playwright-behat
Methods
iAmOn()
voidfunction iAmOn(string $url): void
iClickOn()
voidfunction iClickOn(string $selector): void
iFillWith()
voidfunction iFillWith(string $selector, string $value): void
iShouldSee()
voidfunction iShouldSee(string $text): void
iTakeAScreenshotNamed()
voidfunction iTakeAScreenshotNamed(string $name): void