Skip to content

ortoniKC/Playwright-TypeScript-Jest

Repository files navigation

Playwright-TypeScript-Jest

What is Playwright?

The playwright is a Node.js library to automate Chromium, Firefox, and WebKit with a single API. Playwright is built to enable cross-browser web testing.

Playwright by Microsoft did start as a fork of Puppeteer Puppeteer is a node library to automate the chromium browsers with the JavaScript API

Capabilities:

  • It spans multiple pages, domains, and iframes
  • Intercept network activity for stubbing and mocking network requests
  • Emulate mobile devices, geolocation, permissions
  • Native input events for mouse and keyboard
  • Upload & download support

Playwright enables fast, reliable, and capable automation across all modern browsers

Support for all browsers

  • Test on Chromium, Firefox, and WebKit
  • Test for mobile (device emulation)
  • Headless and headful

Fast and reliable execution

  • Auto-wait APIs (clicks, types, etc)
  • Timeout-free automation
  • Lean parallelization with browser contexts
  • Wide variety of selectors (locators) & shadow-dom support
  • Can handle single page application

Youtube Tutorial

  • Please follow the sequence to enhance your learning!

1. What is Playwright? | Playwright with Typescript & Jest - Part 1

2. Playwright Jest Config & Launch Browser | Playwright - Part 2

3. First Script - Auto Waits | Playwright - Part 3

4. Codeless Automation With PlayWright | Playwright - Part 4

5. Save Test Execution In Video | Playwright - Part 5

6. How to upload files | Playwright - Part 6

7. Handling different types of inputs | Playwright - Part 7

8. Handling different types of alerts | Playwright - Part 8

9. Handling Select/DropDown | Playwright - Part 9

10. Window Handling | Playwright - Part 10

11. Frames | Playwright - Part 11

12. Find Multiple Elements - part 12

13. How To Take Screenshot - part 13

14. How To Run In Local Browser | Playwright - Part 14

15. Drag and Drop | Playwright - Part 15

16. Page Object Model | Playwright - Part 16

17. POM Enhancement & JSON | Playwright - Part 17

18. POM Enhancement & JSON | Playwright - Part 18

19. Jest Allure Report | Playwright - Part 19

20. Jest Allure Report | Playwright - Part 20

21. Skip on failure | Playwright - Part 21

Releases

No releases published

Packages

No packages published