Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Automated Web Testing with JavaScript and Playwright
Rating: 4.7 out of 5(1,532 ratings)
8,078 students

Automated Web Testing with JavaScript and Playwright

Master browser automation to create fast and reliable test suites. Taking you from zero to hero!
Created byRick Schubert
Last updated 10/2025
English

What you'll learn

  • Write automated tests with a cutting-edge framework and programming language
  • Create beautiful test suites using the page object model
  • Use in-built retries for maximum reliability
  • Manipulate network request and simulate API responses
  • Execute your automation project in the cloud via CI systems
  • Upload your project to GitHub
  • Explore how web applications work behind the scenes

Course content

5 sections61 lectures9h 44m total length
  • Course Overview3:57
    • Course Overview

    • How to watch this course

  • Install required software: custom web application, Node.js, Visual Studio Code13:43
  • Windows users only: Install git bash6:05
  • Notes about frequent questions0:22
  • Project setup with npm init8:06
  • Explore the framework13:32
  • Functions and understanding the test frame13:29
  • Selectors and page interactions: Waiting for a button, clicking on a button11:07
  • Assert text changes13:03
  • Assert page navigation6:47

Requirements

  • No programming experience needed — I will explain everything you need.
  • A computer where you can install software (Windows, Mac, Linux)

Description

This course is designed with one simple goal in mind: To teach you web automation so that you will have all the tools to build reliable and fast test suites using the industry's best-practices and advanced techniques. On top of that, you will learn how web applications work behind the scenes and how you can use this knowledge to your advantage.


Practice makes perfect

I believe that you can learn any subject if you practise it. That is why this course is completely practical: We will be building a real test suite for a shopping app. You will also learn how to take these learnings and concepts and apply them to your own applications!


Throughout the course, there are plenty of exercise stages where you are invited to pause the video and take on a challenge, practising and retraining things you already learned. But don’t worry, I will always be walking you through my solution at the end of the exercise.


The right tool for the job

Playwright is one of the most powerful and convenient automation frameworks out there, used by big-brand companies such as Microsoft, Adobe and Disney+. We pair it up with JavaScript, the most popular programming language on the planet! This course will teach you everything there is to know. We will even go one step further and explore the rich ecosystem of third-party libraries.


Learning should be fun

Programming isn’t just a job for me; it’s a passion. I look to bring this passion into my teaching. This is exactly the kind of course that I would love to take myself — I make things fun and engaging.


Have a problem? Not a problem!

Errors are natural in programming. I will be in the Q&A section ready to take on your questions. Every lesson also comes with a transcript of the code changes; that way you can confirm your solution independently.


Let’s get started

I am thrilled to have you here and I can’t wait to get started with you. See you in the course!

- Rick

Who this course is for:

  • Anyone wanting to learn browser automation, no matter which skill level. All necessary knowledge will be taught in the course.