Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Automation testing with Puppeteer, Playwright and CodeceptJS
Rating: 4.0 out of 5(98 ratings)
1,265 students

Automation testing with Puppeteer, Playwright and CodeceptJS

Learn E2E testing of Web Apps with Puppeteer, Playwright and CodeceptJS from complete ground up [2020 updated]
Created byKarthik KK
Last updated 4/2023
English

What you'll learn

  • Complete understanding of Puppeteer from ground up
  • Understanding the basics of working different components of Puppeteer
  • Understand Jest test runner framework
  • Understand working with Cucumber and Cucumber reporting
  • Understanding Page Object Model and advanced concepts of Puppeteer

Course content

12 sections95 lectures8h 37m total length
  • Introduction and getting started with Puppeteer8:45
  • Installing Puppeteer in VS Code5:19
  • Writing super simple code with Puppeteer10:05
  • Working with Browsers and Pages in Puppeteer5:00
  • Working with connected and disconnected browsers in puppeteer6:13
  • Working with Keyboards and Mouse along with Mouse Hover9:27

    Learn to automate keyboards and mouse in puppeteer, using the keyboard API for typing and pressing keys, and hovering to reveal menus. Viewport settings affect interactions and mouse movement.

  • Working with different Locators to identify UI elements from Page12:17

    Learn to identify and interact with UI elements on a page using different locators in Puppeteer, including CSS selectors and XPath, and handle promises to type username and password.

  • Working with Locator to navigate all pages in app and showing all menu texts9:53

    Learn to automate app navigation by locating and clicking all hyperlinks and menu items with Puppeteer, Playwright, and CodeceptJS, printing the resulting links and demonstrating navigation across pages.

  • Working with different Waiting Mechanism in Puppeteer10:00

    Discover page-level and browser-level waiting mechanisms in Puppeteer, including waitForNavigation, waitForSelector, waitForRequest, waitForResponse, and network idle options, to synchronize tests with page loads.

  • Working with waits (Part B)7:42
  • Complete Source code0:01

Requirements

  • Basic understanding of Javascript is helpful
  • Basic understanding of Web UI automation like selenium may be added advantage

Description

[Updated to new course name]

In this course Automation testing with Puppeteer, Playwright and CodeceptJS we will learn a lot more details, not just about Puppeteer tool, but also the tools and techniques which can make puppeteer, even more, better for testing larger application.

We will start our discussion from a basic topic to more advanced concepts of the Puppeteer, Playwright, and CodeceptJS tools. So, basically, this course is updated to supported three tools in parallel such as

  1. Puppeteer

  2. Playwright

  3. CodeceptJS

The reason for adding Playwright and CodeceptJS in the original Puppeteer course being, Playwright is an incarnation of Puppeteer tool and CodeceptJS act as a framework for both Puppeteer and Playwright, hence having knowledge in all these tools are a good combination for automating an application.

Puppeteer

  • Introduction and Basics of Puppeteer

  • Distinguished features of Puppeteer

  • Extending Puppeteer

  • Jest with Puppeteer

  • Cucumber with Puppeteer

  • Puppeteer with Firefox

  • Cucumber HTML Reporting  with Puppeteer

  • Page Object Model with Puppeteer

  • Migrating project from ES5 to ES6

  • Advanced concepts of Puppeteer

Playwright

  • Introduction and what is Playwright

  • Installation

  • Writing super simple code and understand how Playwright is similar to Puppeteer

  • Cross-browser testing

  • CodeceptJS support

  • Playwright CLI

  • Playwright Test Runner

  • Folio - Custom Test runner framework

CodeceptJS

  • Understanding the framework

  • How to make use of CodeceptJS helpers

  • CodeceptJS helper for Puppeteer

  • CodeceptJS syntax

  • Reporting

The course covers topics that are not covered elsewhere on the internet and that makes the course more distinguished by itself.

As that said, at the end of this course, the source code repository in the course will act as a clear guideline of how to extend the course based on your requirements at your work.

Who this course is for:

  • QA
  • BA
  • Devlopers
  • DevOps