Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Web Automation and Testing using Playwright
Rating: 4.4 out of 5(243 ratings)
992 students

Web Automation and Testing using Playwright

Reliable end-to-end testing for modern web apps
Created byBushra Alam
Last updated 1/2022
English

What you'll learn

  • Understanding core concepts of Playwright
  • Playwright API to interact with chromium, firefox and webkit browser engines
  • Exploring libraries and browser extensions related to Playwright
  • Test Frameworks for JS, TS and Java: Playwright Test, Jest-Playwright and JUnit
  • Enhancing test framework using Page object model, Cucumber and more
  • Running Playwright Tests in CI/CD Pipelines
  • JavaScript concepts

Course content

9 sections69 lectures6h 7m total length
  • Welcome to the course3:50

    Explore web automation with Playwright, from setting up projects to writing scripts and handling waits and timeouts. Compare test frameworks and CI integration to optimize Playwright usage.

  • Introduction to Playwright4:10
  • Setup5:05

    Set up a Playwright project by installing Node.js and npm, and choosing an IDE like VS Code. Initialize package.json and install Playwright with npm install playwright to begin testing.

  • Core Concepts4:10

    Select a browser type such as Chromium, Firefox, or WebKit, launch a browser instance (headless), create a browser context for isolated sessions, and navigate pages to interact with elements.

  • Basic Script5:52

    Write your first Playwright script by using an arrow function IIFE with async/await, importing chromium, launching a browser, creating a page, navigating to the TodoMVC app, and taking a screenshot.

  • Project0:20

Requirements

  • None - everything you need is included in the course

Description

Microsoft's Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast. It is developed by the same team that developed Puppeteer and hence it is leveled up Puppeteer.

This course will teach you Playwright, which is believed to become one of the most popular web automation tools in the near future. The course will start from the very basics, you do not need to have any experience with any web automation tool, test frameworks and not even JavaScript. Everything you will need is covered in the course.

Be an early adopter and stay ahead in the game.

Who this course is for:

  • Developers who need to perform web automation or web scraping
  • Software Testers who want to learn one of the most popular upcoming testing tool