Tutorialspoint

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

Playwright Test Automation With JavaScript - Getting Started

person icon Oleksiy Kyrylenko

4.1

Playwright Test Automation With JavaScript - Getting Started

No programming experience is required. Beginner Friendly course.

updated on icon Updated on Apr, 2024

language icon Language - English

person icon Oleksiy Kyrylenko

category icon Software Testing,IT & Software

Lectures -22

Duration -4 hours

4.1

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

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 this course is for:

  • Beginner Automation Engineers

Goals

What will you learn in this course:

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

Prerequisites

What are the prerequisites for this course?

  • No prior knowledge required
Playwright Test Automation With JavaScript - Getting Started

Curriculum

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

Introduction
4 Lectures
  • play icon Introduction 10:20 10:20
  • play icon Installing Playwright 13:02 13:02
  • play icon Writing Our First Test 14:07 14:07
  • play icon Locating Elements-By CSS and By XPATH 14:44 14:44
II. Locating Elements
4 Lectures
Tutorialspoint
III. Interacting with Elements
4 Lectures
Tutorialspoint
III. Assertions
5 Lectures
Tutorialspoint
Waits
2 Lectures
Tutorialspoint
Annotations and Hooks
3 Lectures
Tutorialspoint

Instructor Details

Oleksiy Kyrylenko

Oleksiy Kyrylenko

Experience QA for over 10 years of experience, including 7 years of test automation experience automating frond end and backend using variety of tools and methodologies such as Selenium, Cypress, Playwright, nUnit, Jest, C#, Java, JavaScript, Jenkins, CircleCi, BDD, Mongo, SQL, WireMock, Kafka, Amazon AWS, Gherkin and more. Have Associate of Science degree in Programming.

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