Playwright Beginner Tutorial - How to Write Your First Test

Playwright Beginner Tutorial - How to Write Your First Test

Automation Step by Step via YouTube Direct link

7 of 8

7 of 8

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Playwright Beginner Tutorial - How to Write Your First Test

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Step 1 - Create a new file under test folder
  3. 3 Step 2 - Add module ‘playwright/test’
  4. 4 Example how to add and import modules
  5. 5 Playwright Test provides a test function to declare tests and expect function to write assertions
  6. 6 Step 3 - Create a test block - testtitle, testFunction
  7. 7
  8. 8 Screenshot moment

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.