Install The Pytest Playwright Fixture Plugin
@prranitarora▲ 10 net votes
Installing the playwright package gives Python the browser API, but pytest still reports fixture 'page' not found when a test requests Playwright's page fixture. Add pytest-playwright to the project requirements as well; rerunning the browser suite then registered the fixture and passed.