125 questions
0 votes
0 answers
13 views
Xray JUnit reporter is showing error "no data inside xml"
I created a custom Xray reporter that generates JUnit XML test reports. I want to upload these reports to Xray Cloud and link tests to Jira issues using the testKey property inside each <testcase&...
0 votes
0 answers
86 views
Allure Playwright not recording actions unless they are within step() or API requests
Allure reports from Playwright tests do not include actions taken outside of step() calls. For example, step( "Menu navigation", () -> { page.locator("a").filter(...
0 votes
1 answer
212 views
How to run chrome browser in headful mode in playwright-java remote server
I am using the below command to start playwright server: npx playwright launch-server --browser "chromium" but it is headless. How to run it in headful mode? I also used the below command, ...
1 vote
1 answer
71 views
onResponse handler not getting called [closed]
I've been evaluating playwright-java for a while and I've encountered an issue with regard to onResponse handler. It's simply not getting called. Documentation doesn't mention any special setup for it,...
2 votes
0 answers
255 views
How to bypass or auto-accept Chrome's file editing permission dialog triggered by window.showDirectoryPicker() in Playwright?
I trying to download a file into a folder that is not in the list of managed permissions of Playwright. The reason I need to test this particular download is because I am dealing with a websockets ...
0 votes
1 answer
69 views
Does Java Playwright support the testing of Android devices?
I'm facing the testing of Android app (in my case with an emulated device that I already have installed on my PC) I was looking to implement it using Java Playwright. But in their official doc, they ...
1 vote
0 answers
176 views
How to setup spring boot app with playwright docker
I have a spring boot app running in docker which have playwright code for retrieving data from some websites. In the old form of my app arch I had my spring boot app running with selenium driver and ...
0 votes
0 answers
868 views
Playwright tests stuck and not timing out
I'm running a lot of UI tests in a pipeline via a GitLab Runner. The test are run on VMs in the GCP in docker containers. Most of the time this works without problems, but sporadically a job running ...
1 vote
0 answers
70 views
Playwright Java - IllegalStateException happening on waitForCondition method
I'm experiencing very weird exception while using the playwright library in java. I haven't found any information whatsoever about that exception happening in any playwright methods. This is the ...
0 votes
1 answer
638 views
Playwright with Java - 'TargetClosedError:Target page, context or browser has been closed error
I am new to playwright and can someone help me how to resolve this error? This is the browser initiation method in base test public void initBrowser() { playwright = Playwright.create(); ...
1 vote
3 answers
934 views
Playwright cannot find module './../../package.json'
I'm using playwright-java for a few months now and suddenly I got the following error: node:internal/modules/cjs/loader:1225 const err = new Error(message); ^ Error: Cannot find ...
0 votes
0 answers
68 views
Tests not being found by runner class using Playwright and Java
I am trying to run this test and while the feature file runs. I get no tests found when using this runner class. I know the feature file and steps work since that passes but this runner does not find ...
0 votes
0 answers
154 views
getting access denied error in launching chrome browser inside docker container
I am trying to run the playwright browser inside a custom docker container. In the docker image, have installed all the necessary browsers in the path /tmp/pwbrowsers/ and set the required permission. ...
1 vote
0 answers
237 views
Playwright java is unable to open browser in incognito window
Am sharing the snippet which i used, able to open chrome browser but not opening in incognito window. My requirement is application under testing url must open in incognito window, complete the ...
0 votes
0 answers
68 views
Automation Testing: Unable to Find and Interact with Elements Inside Flutter's Shadow Root (open)
I’m currently trying to perform automation testing on a Flutter app but am facing an issue: I’m unable to locate any elements or fields in the browser’s Developer Tools element panel, even though the ...