Playwright Test Automation With JavaScript - Getting Started
No programming experience is required. Beginner Friendly course.
Software Testing,IT & Software
Lectures -22
Duration -4 hours
30-days Money-Back Guarantee
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
Course Description
Playwright is a test automation tool that becoming more and more popular each year. In this course you will learn how to start writing automated scripts with Playwright and JS. Learn how to locate and interact with elements, how to make an assertions, how to wait on different conditions, annotations and way more. This course is beginners friendly and no prior knowledge is required. Everything you need to get started with Playwright.
Why Playwright:
Cross-browser. Playwright supports all modern rendering engines including Chromium, WebKit, and Firefox.
Cross-platform. Test on Windows, Linux, and macOS, locally or on CI, headless or headed.
Auto-wait. Playwright waits for elements to be actionable prior to performing actions. It also has a rich set of introspection events. The combination of the two eliminates the need for artificial timeouts - the primary cause of flaky tests.
Web-first assertions. Playwright assertions are created specifically for the dynamic web. Checks are automatically retried until the necessary conditions are met.
Tracing. Configure test retry strategy, capture execution trace, videos, screenshots to eliminate flakes.
Test frames, pierce Shadow DOM. Playwright selectors pierce shadow DOM and allow entering frames seamlessly.
Browser contexts. Playwright creates a browser context for each test. Browser context is equivalent to a brand new browser profile. This delivers full test isolation with zero overhead. Creating a new browser context only takes a handful of milliseconds.
Log in once. Save the authentication state of the context and reuse it in all the tests. This bypasses repetitive log-in operations in each test, yet delivers full isolation of independent tests.
Who this course is for:
- Beginner Automation Engineers
Goals
What will you learn in this course:
- Install Playwright
- Locate Elements with Playwright
- Execute Actions on Elements with Playwright
- Perform Test Assertions
Prerequisites
What are the prerequisites for this course?
- No prior knowledge required
Curriculum
Check out the detailed breakdown of what’s inside the course
Introduction
4 Lectures
- Introduction 10:20 10:20
- Installing Playwright 13:02 13:02
- Writing Our First Test 14:07 14:07
- Locating Elements-By CSS and By XPATH 14:44 14:44
II. Locating Elements
4 Lectures
III. Interacting with Elements
4 Lectures
III. Assertions
5 Lectures
Waits
2 Lectures
Annotations and Hooks
3 Lectures
Instructor Details
Oleksiy Kyrylenko
Experience QA for over 10 years of experience, including 7 years of test automation experience automating frond end and backend using variety of tools and methodologies such as Selenium, Cypress, Playwright, nUnit, Jest, C#, Java, JavaScript, Jenkins, CircleCi, BDD, Mongo, SQL, WireMock, Kafka, Amazon AWS, Gherkin and more. Have Associate of Science degree in Programming.
Course Certificate
Use your certificate to make a career change or to advance in your current career.
Our students work
with the Best
Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe nowOnline Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now