3,500 questions
-1
votes
0
answers
69
views
Connecting third party tools with Playwright [closed]
We are currently using Selenium testng framework for our functional automation and we had developed 2000 test cases and running in parallel 100 nodes in AWS Device Farm. Now we are started using ...
1
vote
0
answers
59
views
How to normalize screenshot paths for test retries to compare against same baseline?
I'm using Playwright for end-to-end testing with Argos CI for visual regression testing. My tests have retries enabled (retries: 2), but when a test fails and retries, the screenshot paths change, ...
-4
votes
0
answers
67
views
How to architect a web app that queues and executes browser automation jobs? [closed]
I'm building a full stack application where users can trigger browser automation tasks (web scraping, form filling, data extraction) from a web UI.
Requirements:
Users submit automation jobs via a ...
0
votes
1
answer
93
views
Playwright: page content jumps alternating from left to right and back [closed]
I am using playwright 1.57.0 to test login automation. The process fails when entering a verification code, after the credentials have been successfully submitted.
The setup is as follows:
# config ...
0
votes
0
answers
60
views
Playwright flake: locator.click times out on Angular Material slide-toggle because "element is not visible" [closed]
I am writing E2E tests for an Angular application using Playwright. I am encountering a flaky issue when trying to interact with an Angular Material slide toggle (mat-slide-toggle).
Most of the time ...
-3
votes
0
answers
87
views
How to use SOCKS5 proxy with auth in python playwright [closed]
I know what playwright browser don't support socks5 proxy with auth. But maybe exists some way to use it? except socks->http tunnel. Maybe some libs?
0
votes
1
answer
85
views
How to handle a stale element in playwright? [closed]
I am encountering a problem with a particular testcase. I need to enter an account number then click search button and validate some things. After that I need to click on return link and clear the ...
Best practices
1
vote
1
replies
51
views
Implementing Page Object Model (Playwright vs Cypress)
I started using Playwright, and one of the first things I noticed is that if you're trying to implement a custom page object that stores methods, click actions, and assertions, you should create a ...
2
votes
1
answer
76
views
Playwright locator can find only one element by class
I'm just starting in Playwright, and I'm confused by locator behavior.
A page starts with the structure in the image below.
Using
url = 'https://skylines.aero/flights/115429'
with p.sync_playwright() ...
0
votes
1
answer
71
views
How to get vaadin selecter with Playwright?
I've tried to find a solution online on how to work with playwright and vaadin code but no chance.
Playwright is installed in VS Code, is up and running, I have my test explorer installed and node.js. ...
1
vote
2
answers
78
views
What replaces the deprecated page.type method in playwright?
I noticed that page.type is deprecated in Playwright. Google's AI overview told me that I need to use locator.fill instead but it isn't working for the field I want to fill.
await this....
-1
votes
0
answers
43
views
long wait of BrowserContext.new_page [closed]
After running the test on playwright+ pytest, the browser opens immediately, but then the page is blank for 18-25 seconds. Based on the traces, I realized that the entire time was spent processing the ...
0
votes
1
answer
56
views
Bypassing MFA in salesforce UI automation via playwright
We have 2gp managed package that we are writing automation for, we already have automated api testing but struggling in UI automation as salesforce recently mandated MFA in most of the editions ...
Tooling
0
votes
2
replies
44
views
chrome-devtools - possible to screenshot network traffic or record *.har traffic for offline presentation
I run some performance-tests (Grafana K6) and would like to screenshot the network traffic on the frontend nodes.
Is there a way to do this with Chrome Devtools, Selenium, playwright?.
I can do ...
-1
votes
1
answer
101
views
issue of running playewright using bunjs
i am trying to run playwright in bun. but when i run bun run test.ts, the output hangs at Launching Chromium....
output:
PS D:\\Javascript files\\ss_url_project_copy\\backend\> bun run test.ts
...