Playwright + Python · Lesson 34 of 37
Module 34: Parallel & Cross-Browser Testing
Your task
Implement make_browser_cli_args(browsers):
Write it in the editor, then press Check answer (Ctrl + Enter).
# Run tests across all three browser engines in parallel:
pytest --browser chromium --browser firefox --browser webkit -n autoPlaywright guarantees each worker process receives a clean, isolated BrowserContext, preventing test contamination.
Running tests across Chromium, Firefox, and WebKit simultaneously accelerates feedback. In this lesson, you will run tests in parallel across all three rendering engines using pytest-playwright. Let's scale our tests!
Part of the Playwright + Python course (Playwright with Python). Practice this concept live in the Playwright Online Compiler or explore our free automation practice form.
Yes! Playwright bundles WebKit (the open-source Safari rendering engine) compiled for Windows and Linux, allowing genuine WebKit testing on any OS.
Ready? Solve the task in the editor
Use Check answer to mark it complete. Hints are there if you need them.
___