← Back to Discord Forum

How to use Playwright Pytest fixtures with async?

Is it possible to use PyTest Playwright fixtures with async? In the documentation I see only sync code examples and that is making me thinking it might not be possible (sorry new to python and trying to figure few things out) Documentation Link: https://playwright.dev/python/docs/test-runners#examples

This thread is trying to answer question "Is it possible to use PyTest Playwright fixtures with async?"

1 reply

pytest-playwright only exposes sync so far. See here for the feature request: https://github.com/microsoft/playwright-pytest/issues/74

Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.