Playwright Test Automation With JavaScript – Getting Started
Learn how to automate tests with Playwright, a popular cross-browser and cross-platform tool. No prior knowledge required. Start writing scripts with Playwright and JS, locate and interact with elements, make assertions, and more. Achieve full test isolation, eliminate flaky tests, and save time with Playwright’s powerful features. Perfect for beginner automation engineers.
What you’ll learn
- Install Playwright
- Locate Elements with Playwright
- Execute Actions on Elements with Playwright
- Perform Test Assertions
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
User Reviews
Be the first to review “Playwright Test Automation With JavaScript – Getting Started”
You must be logged in to post a review.
There are no reviews yet.