Python Selenium Parallel Testing using pytest - Part 1

Опубликовано: 05 Апрель 2026
на канале: MobileTesting
17,387
115

Run Python Selenium Tests in Parallel on Chrome browser

Welcome to MobileTesting YouTube Channel

This video explains how to run Python Selenium Tests in Parallel on Chrome browser. Split your test suite across multiple Google Chrome browser sessions and run them in Parallel.

Packages needed:
pytest
pytest-xdist
pytest-rerunfailures
selenium


Command to run test cases in parallel:
pytest -n 5



We are covering two scenarios in this series:

First Scenario:
Run 4 test scripts in Parallel in 4 Chrome browser sessions

Second Scenario - Check PART 2 video:
Run 4 test scripts in Parallel split across 3 browsers - Chrome, Firefox and Safari



Selenium Server Download url:
http://www.seleniumhq.org/download/

GitHub Repository:
https://github.com/Akulavenkatesh/pyt...