Playwright Tutorial With Examples

 Playwright Test was created specifically to accommodate the needs of end-to-end testing. Playwright supports all modern rendering engines including Chromium, WebKit, and Firefox. Test on Windows, Linux, and macOS, locally or on CI, headless or headed with native mobile emulation of Google Chrome for Android and Mobile Safari.  Here you will get basic and advance level concept about playwright.

Playwright Tutorial With Examples


Playwright Tutorial :


Playwright code setup

Introduction to the Playwright

How to Setup Playwright on Windows and MAC

How do I access playwright test runner project info in a test?

Write Your First Playwright Test Script - A Step by Step Guide


Working different browser in playwright

Working with Chrome, Firefox and WebKit browser in Playwright


Working with locators in playwright

Playwright - Various techniques to locate an element in web page.

How to Use Playwright Locators: A Detailed Guide

Playwright built-in locators

CSS nth matching in Playwright

page.$$ and page.$ in Playwright

CSS nth-match and nth-element locator in playwright

Playwright - locator.waitFor()

Handle multiple elements in playwright


Working with upload and download in playwright

Working with File Uploads in Playwright

Files upload for non-input elements - FileChooser playwright

How to Download Files with Playwright


Working with Assertions in playwright

Playwright Assertion Example

Playwright Hard Assertions vs Soft Assertions

Negating matchers with expect Assertion in playwright

Custom expect message in playwright


Working with input box, radio and checkbox in playwright

Working with Input box ,Radio Buttons & Checkboxes In Playwright


Working with different dropdown options in playwright

Working with Select dropdown in playwright

Working with Multi Select dropdown in playwright

Working with Bootstrap dropdown in playwright

Handling Auto-Suggest/Auto-Complete dropdown in playwright

Handle Hidden Elements in dropdown in playwright


Working with screenshot and video capture in playwright

Capture Screenshots in playwright

Capturing Videos in playwright


Working with Alerts and Switch to window in playwright

Handling Alerts in playwright

Multiple Windows in playwright


Working with keyboard and mouse operation  in playwright

Keyboard Actions in playwright

Right Click in playwright

Mouse Hover Action in playwright

Double Click in playwright

Drag and Drop Actions in playwright


Working with frame in playwright

Handling Frames in playwright

How to handle Child Frames in Playwright


Working with trace viewer and debug in playwright

Trace Viewer in playwright


Working with Hooks, Tags and Annotations in playwright

Hooks - beforeEach, afterEach, beforeAll & afterAll in playwright

Understanding Tags in playwright

Understanding Annotations in playwright


Working with codegen in playwright

How to Record Tests using Playwright Codegen


Reporting in playwright

Understanding Reporters in playwright - List, Dot, Json, JUnit & HTML Reporters

Allure Reports in playwright

Understanding Custom reporters in playwright


Playwright Timeout

Mastering Playwright Timeout Settings


Retry fail testcases in playwright

Retry Failed Test Cases in playwright


Miscellaneous



Advance Topics :

Using the Clipboard in Playwright: Copy, Paste, Automate




No comments:

Post a Comment