We may earn an affiliate commission when you visit our partners.
Course image
Aliaksandr Khvastovich

Discover the advantages of automation using the Playwright framework. By the end of this course, you'll have a solid foundation in Playwright automation, ready to implement robust testing solutions efficiently.

Key learning outcomes:

Read more

Discover the advantages of automation using the Playwright framework. By the end of this course, you'll have a solid foundation in Playwright automation, ready to implement robust testing solutions efficiently.

Key learning outcomes:

  • Build a simple "ClickMe" webpage to understand HTML structure.

  • Locate web elements using various selectors in Playwright, enabling efficient test automation.

  • Utilize Playwright’s recommended built-in locators.

  • Master Playwright assertions to verify conditions, ensuring test reliability and accuracy.

  • Implement the Page Object Model (POM) to create reusable and maintainable test code.

  • Conduct API testing with Playwright to verify backend endpoints and ensure seamless integration with the frontend.

Key topics covered include:

  • Reading and manually creating tests from Playwright Codegen

  • Finding Playwright locators by ID, attribute, class, text, and their combinations

  • Asserting visibility, exact text match, contains text, and count

  • Asserting checked, element value, element enabled, and text stored

  • Designing and implementing the Page Object Model (POM) for better test structure

  • Writing and executing API tests with Playwright

Throughout the course, you'll gain hands-on experience with real-world examples and practical exercises, reinforcing your understanding of each concept. By the end of this course, you'll be equipped with the skills to build reliable, scalable, and maintainable automated test suites using Playwright, setting you up for success in your QA automation career.

Enroll now

What's inside

Learning objectives

  • Students will gain a comprehensive understanding of playwright, including its core concepts, features, and how it compares to other automation tools
  • Students will master advanced techniques for handling browser contexts and multiple pages, including implementing the page object model (pom)
  • Students will gain expertise in automating ui tests using playwright, how to interact with web elements, and validate visual and functional aspects of web pages
  • Students will gain expertise in automating api tests using playwright, understanding how to send requests, validate responses, and integrate api tests with ui

Syllabus

Introduction

Students will discover the advantages of automation using the Playwright framework and, by the end of the lesson, will have it installed and ready for testing.

Read more
Students will be able to create their first Automation tests using

In this section, students will learn how to efficiently generate automation tests using Playwright's Codegen tool.

By the end of this section, students will be able to read and understand Playwright code generated with Codegen, allowing them to modify and create automated tests effectively.

In this video, students will learn how to read and understand Playwright code generated by the Codegen tool.

By the end of this section, students will be able to build a simple "ClickMe" webpage, understand its HTML structure, and use this knowledge to create Playwright Locators

In this video, students will learn how to build a simple "ClickMe" webpage to understand the basics of HTML structure.

By the end of this section, students will be able to locate web elements using various selectors in Playwright

In this video, students will learn how to locate web elements using various selectors in Playwright.

In this video, students will learn how to locate web elements using Built-In Locators in Playwright.

By the end of this section, students will be able to use Playwright assertions to verify various conditions in their automated tests, ensuring the reliability and accuracy of their test outcomes.

In this video, students will learn how to assert URLs and Page Title in Playwright.

In this video, students will learn how to assert Visibility, Exact Text Match, Contains Text, and Count in Playwright.

In this video, students will learn how to assert Check boxes, Element Has Value, Element Is Enabled, and Text Stored in Playwright.

By the end of this section, students will be able to run Playwright tests using the Playwright Test Runner and configure Playwright settings to optimize their testing environment.

In this section, students will explore various methods for running Playwright tests.

In this section, students will learn how to utilize the Playwright configuration file to manage and optimize their testing environment.

By the end of this section, students will be able to set up and configure Playwright pages, understand the concept of contexts, and effectively use hooks.

In this video, students will learn how to set up and configure Playwright pages, understand contexts, use hooks (beforeAll, afterAll, beforeEach, afterEach), work with page, browser, and context objects, and test with geolocation settings, enabling them to create structured and maintainable automated tests.

By the end of this section, students will be able to implement the Page Object Model (POM) with the Playwright framework, creating reusable and maintainable test code.

In this video, students will be introduced to the Page Object Model (POM) and learn how to create a login page and their first POM-based test using Playwright.

In this video, students will learn how to expand their test suite by adding more login tests using the Page Object Model (POM) across multiple pages.

In this video, students will learn how to complete their Page Object Model (POM) framework using Playwright. The

By the end of this section, students will be able to automate API testing and perform verifications using Playwright.

In this video, students will learn how to perform API verification using Playwright by making GET request and asserting all information in response body.

Assert GET line by line, POST, PUT, and DELETE API Requests

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Explores automation testing using the Playwright framework, a popular tool in the industry
Taught by Aliaksandr Khvastovich, an instructor recognized for their work in Playwright
Develops skills in UI and API testing using Playwright, core skills for QA automation careers
Provides hands-on experience with real-world examples and practical exercises
Course is only for practicing automation engineers
Requires learners to have prior experience in writing automated tests

Save this course

Save Master Playwright Automation - Fast and Easy to your list so you can find it easily later:
Save

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Master Playwright Automation - Fast and Easy with these activities:
Follow Playwright tutorials
Supplement your learning with official Playwright tutorials to enhance your understanding.
Show steps
  • Review the official Playwright documentation
  • Follow along with the official Playwright tutorials
Join a Playwright study group
Connect with other students and collaborate on learning Playwright.
Show steps
  • Find a study group or forum dedicated to Playwright
  • Participate in discussions and ask questions
Practice writing Playwright tests
Practice writing Playwright tests to reinforce your understanding and improve your skills.
Show steps
  • Start with simple test cases
  • Gradually increase the complexity of your test cases
Two other activities
Expand to see all activities and additional details
Show all five activities
Mentor junior Playwright enthusiasts
Enhance your understanding of Playwright by sharing your knowledge with others.
Show steps
  • Identify opportunities to mentor others
  • Prepare materials and resources to support your mentees
  • Provide guidance and support to your mentees
Participate in Playwright hackathons or contests
Challenge yourself and showcase your Playwright skills in a competitive environment.
Show steps
  • Identify relevant Playwright hackathons or contests
  • Form a team or participate individually
  • Develop and submit your solution

Career center

Learners who complete Master Playwright Automation - Fast and Easy will develop knowledge and skills that may be useful to these careers:

Reading list

We haven't picked any books for this reading list yet.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Master Playwright Automation - Fast and Easy.
Playwright in Node.js Fundamentals
Most relevant
Automated Web Testing in Java with Playwright 1
Most relevant
End to End automation testing with Cypress
Most relevant
Selenium WebDriver 4, Cucumber BDD, Java & More!
Most relevant
Selenium 4 Fundamentals with C#
Selenium 4 Fundamentals with Python
Automation framework with Selenium Java (Advanced)
Selenium WebDriver Java: Basic to Architect Bootcamp 2024
Advanced Selenium WebDriver with Java and TestNG
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser