Playwright Test Automation With JavaScript - Getting Started

Learn how to locate and interact with elements, how to make an assertions, and way more

Ratings 3.96 / 5.00
Playwright Test Automation With JavaScript - Getting Started

What You Will Learn!

  • Install Playwright
  • Locate Elements with Playwright
  • Execute Actions on Elements with Playwright
  • Perform Test Assertions

Description

Playwright is a test automation tool that becoming more and more popular each year. In this course you will learn how to start writing automated scripts with Playwright and JS. Learn how to locate and interact with elements, how to make an assertions, how to wait on different conditions, annotations and way more. This course is beginners friendly and no prior knowledge is required. Everything you need to get started with Playwright.

Why Playwright:

Cross-browser. Playwright supports all modern rendering engines including Chromium, WebKit, and Firefox.

Cross-platform. Test on Windows, Linux, and macOS, locally or on CI, headless or headed.

Auto-wait. Playwright waits for elements to be actionable prior to performing actions. It also has a rich set of introspection events. The combination of the two eliminates the need for artificial timeouts - the primary cause of flaky tests.

Web-first assertions. Playwright assertions are created specifically for the dynamic web. Checks are automatically retried until the necessary conditions are met.

Tracing. Configure test retry strategy, capture execution trace, videos, screenshots to eliminate flakes.

Test frames, pierce Shadow DOM. Playwright selectors pierce shadow DOM and allow entering frames seamlessly.

Browser contexts. Playwright creates a browser context for each test. Browser context is equivalent to a brand new browser profile. This delivers full test isolation with zero overhead. Creating a new browser context only takes a handful of milliseconds.

Log in once. Save the authentication state of the context and reuse it in all the tests. This bypasses repetitive log-in operations in each test, yet delivers full isolation of independent tests.

Who Should Attend!

  • Beginner Automation Engineers

TAKE THIS COURSE

Tags

  • Automation Testing
  • Microsoft Playwright

Subscribers

56

Lectures

22

TAKE THIS COURSE



Related Courses