This course will teach you how to utilize Playwright using Java Language Binding. We will be learning about the e2e framework design using POM, extent reports,
and Utilities etc
More in a shorter time is the goal for this course.
About the Tool:
The Cross-browser. Playwright supports all modern rendering engines, including Chromium, WebKit, and Firefox.
It is cross-platform. Test on Windows, Linux, and macOS, locally or via Headless or CI.
Testing Mobile Web. Native mobile emulation of Google Chrome for Android and Mobile Safari. The same rendering engine can be used on your Desktop and the Cloud.
Automated-wait. The playwright waits for elements that are operational before taking action. It also offers a wide array of events that are introspection. Combining the two will eliminate the requirement for artificial timeouts, one of the leading causes of flawed tests.
Web-first assertions. Playwright assertions are explicitly designed for use on the dynamic web. The checks are automatically repeated until all the conditions required are satisfied.
Tracking. Configure test retry strategy to capture execution trace, video, and screenshots to remove flake.
Highly effective tooling
Codegen. Generate tests by recording your actions. They can be saved to any language.
Playwright Inspector. Inspect page, generate selectors, follow the test's execution, check click points, look over the execution logs.
Trace viewer. Capture all the information needed to analyze the reason for the test's failure. Playwright trace is a screencast of test executions and lives DOM snapshots as well as action explorer, test source, and much other.
Content of the Course:
Students will be taught ways to incorporate Playwright and reportage to the extent that it is required.
Students will be taught how to incorporate POM into playwriting
They will also be able to make applications that work with the playwright framework using built-in methods.
Then, students will be able to create an E2E framework using Playwright Java.