Support Playwright
See original GitHub issuePlaywright is “a Node.js library to automate Chromium, Firefox and WebKit with a single API” that now also supports Java. Let’s see how we can best integrate it with JUnit Jupiter.
One thing to note is that we should keep the dependency on Playwright optional (aka provided), so we don’t drag it in ourselves if users don’t already use it. It should probably also be in its own package org.junitpioneer.(jupiter.?)playwright
. If it proves successful and grows, we can always spin it out into its own project by moving the package there.
In this issue, let’s collect and discuss ideas. For their implementation, we can create dedicated issues.
My only idea so far:
- parameter resolver that injects
Browser
instances, so tests can easily be executed against multiple browsers
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Playwright: Fast and reliable end-to-end testing for modern ...
Playwright supports all modern rendering engines including Chromium, WebKit, and Firefox. Cross-platform. Test on Windows, Linux, and macOS, locally or on ...
Read more >microsoft/playwright - GitHub
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. - GitHub -...
Read more >Use Playwright to automate and test in Microsoft Edge
The Playwright library provides cross-browser automation through a single API. ... use: { // Supported Microsoft Edge channels are: msedge, ...
Read more >Microsoft Playwright Testing Guide and Tutorial
What Are Microsoft Playwright Browser Contexts? How To Run Playwright Tests In Parallel Playwright Tutorial On How To Browser Viewports Supports ...
Read more >Supported browser and OS versions for Playwright tests
When running any Playwright test, you have to specify the OS and browser that you want to use for the test. This document...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Rather than using provided, how about optional (Maven) / feature variants (Gradle)? Haven’t used these myself, but it sounds exciting! (Related blog post.)
junit-pioneer-playwright
,junit-pioneer-selenium
, … 👏I’m pretty sure, I’ve already written an extension like this for Selenium, but I can’t find it. No idea where that one went. I dimly remember opening a PR somewhere… 🙈