Tutorialspoint

April Learning Carnival is here, Use code FEST10 for an extra 10% off

Playwright with Python for Web Automation Testing

person icon Symon Storozhenko

4.4

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 Apr, 2024

language icon Language - English

person icon Symon Storozhenko

category icon Development,Software Testing,Microsoft Playwright

Lectures -96

Resources -1

Duration -6 hours

4.4

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point 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

Goals

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

Prerequisites

What are the prerequisites for this course?

  • No prior knowledge required

  • Windows/Mac/Linux machine

Playwright with Python for Web Automation Testing

Curriculum

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

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

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

Use your certificate to make a career change or to advance in your current career.

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
Annual Membership

Online Certifications

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

Explore Now
Online Certifications

Talk to us

1800-202-0515