Playwright with Python for Web Automation Testing

person icon Symon Storozhenko

Playwright with Python for Web Automation Testing

Create a professional-grade, scalable Pytest framework from scratch with Parallel execution, Reports, CI/CD and more

updated on icon Updated on Sep, 2023

language icon Language - English

person icon Symon Storozhenko

architecture icon Development,Software Testing,Microsoft Playwright


30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 19,000+ top Tutorialspoint courses anytime, anywhere.

Course Description

Spin up your automation framework from scratch in a matter of days! It's super fast with Python and pytest.

Then comes Playwright with its nitrogen-fast browser test execution! We are going to blend Playwright capabilities into the pytest framework with the use of markers, fixtures, CLI commands.

In this course we will  cover:

  • Python basics

  • Playwright

  • Pytest

  • project structure

  • page object model

  • reporting

  • parallel execution

  • create our own pytest fixtures for set_up and tear_down methods

  • utilize existing Playwright fixtures

  • deploy our test to CI/CD using GitHub Actions

  • Learn yml syntax

  • Store login passwords securely as GitHub Secrets

Why Playwright?

Playwright enables fast, reliable and capable testing and automation across all modern browsers.

Support for all browsers

  • Test on Chromium, Firefox and WebKit. Playwright has full API coverage for all modern browsers, including Google Chrome and Microsoft Edge (with Chromium), Apple Safari (with WebKit) and Mozilla Firefox. Test can run in headful and headless modes

Fast and reliable execution

  • By fast I mean REALLY fast!

  • Auto-wait APIs. Playwright interactions auto-wait for elements to be ready. This improves reliability and simplifies test authoring.

  • Fast isolation with browser contexts. Reuse a single browser instance for multiple isolated execution environments with browser contexts.

  • Resilient element selectors. Playwright can rely on user-facing strings, like text content and accessibility labels to select elements.

  • Multiple domains, pages and frames. Playwright is an out-of-process automation driver that is not limited by the scope of in-page JavaScript execution and can automate scenarios with multiple pages.

Who this course is for:

  • Automation Testers
  • Manual QA Analysts
  • Developers and BAs who want to learn or improve their automation skills


What will you learn in this course:

  • Become an expert in Playwright with Python

  • Super intuitive Pytest framework with parallel execution, reporting and CLI commands

  • CI/CD execution with proper password management

  • Tackling different authentication and other sorts of problems


What are the prerequisites for this course?

  • No prior knowledge required

  • Windows/Mac/Linux machine

Playwright with Python for Web Automation Testing


Check out the detailed breakdown of what’s inside the course

1 Lectures
  • play icon Important - Please watch! Course content and structure 01:11 01:11
Environment Setup
3 Lectures
Python Fundamentals
24 Lectures
Python OOP Basics
2 Lectures
Python - Modules, Standard Library and pip
4 Lectures
Playwright Basics
9 Lectures
Playwright Selectors
9 Lectures
2 Lectures
Page Object Model and Project Structure
3 Lectures
Pytest Framework Basics
10 Lectures
Reporting and Parallel Execution via CLI
3 Lectures
Pytest-Playwright fixtures and CLI commands
11 Lectures
Data Driven Testing
3 Lectures
CI/CD integration
6 Lectures
Authentication scenarios
5 Lectures
1 Lectures

Instructor Details

Symon Storozhenko

Symon Storozhenko

Symon Storozhenko has 7 years of professional experience as a QA Automation Engineer, working in Python and Java and using test tools and frameworks such as Playwright, Selenium, pytest and TestNG. Worked in several different domains, such as insurance, payments, banking and utilities. A big advocate for quality products, sustainable practices and a huge fan of all things Automation!

Course Certificate

User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

sample Tutorialspoint certificate

Our students work
with the Best


Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us