playwright-java
playwright-java copied to clipboard
Java version of the Playwright testing and automation library
[Bug]: Playwright-Junit lifecycle incompatible with maven retries 'surefire.rerunFailingTestsCount'
### Version 1.50.0 ### Steps to reproduce 1. Have a basic Playwright test that fails 2. Try running it with maven retries: `./mvnw test -Dtest=MyTest -Dsurefire.rerunFailingTestsCount=2` ### Expected behavior System...
### Version 1.47.0 ### Steps to reproduce Using Playwright Java, navigate to https://playwright.dev Run the following assertions: working: ``` assertThat(page.getByRole(AriaRole.HEADING) .filter(new Locator.FilterOptions().setHasText(Pattern.compile("Playwright"))) ).isVisible(); ``` not working: ``` assertThat(page.getByRole(AriaRole.HEADING) .filter(new Locator.FilterOptions().setHasText(Pattern.compile(Pattern.quote("Playwright"))))...
### Page(s) https://playwright.dev/java/docs/mock ### Description The Route API is currently implemented as a test double, but in my opinion, it functions more as a stub rather than a mock. I...
### 🚀 Feature Request Add an option that will reset the `Browser` object after each test so cloud services that use `BrowserType.connect` can work properly. Example: https://www.browserstack.com/docs/automate/playwright/playwright-capabilities#Java ### Example ```java...