3,503 questions
-1
votes
0
answers
12
views
Playwright mount timeout error using React and TypeScript
Using React and Ts, I am getting: Test timeout of 30000ms exceeded. Error: page._wrapApiCall: Test timeout of 30000ms exceeded when trying to mount with :
test("renders selected date", ...
Best practices
0
votes
0
replies
12
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 ...
0
votes
1
answer
34
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
29
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
3
answers
41
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....
0
votes
1
answer
28
views
long wait of BrowserContext.new_page
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
24
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
34
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 ...
0
votes
2
answers
42
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
...
Advice
0
votes
3
replies
64
views
How to navigate to domain (not url) in Python Playwright?
I know that Playwright has Page class with goto() method, but it accepts url only. In my use case I'll most probably test sites knowing only their domain, so I'd have let's say google.com as url ...
-3
votes
2
answers
77
views
How do I disable test results in Playwright
I have playwright test which I need to run in Azure function. It runs fine locally but when deployed to Azure function it fails with error below. The only reporter configured is list and it shall not ...
-1
votes
0
answers
43
views
I'm unable to implement auto focus in Iframe [closed]
I'm designing custom automation report(Playwright with Java using Junit). Encountering issue where I'm unable to implement "auto focus" when I click on the scenario in the table. Focus ...
Advice
0
votes
1
replies
45
views
Exclude ffmpeg on installation
I use Playwright for recording and playback of the tests, but because of specific constraints, I can't have ffmpeg installed as part of Playwright. I want to find a way to exclude ffmpeg from being ...
0
votes
0
answers
66
views
One long PDF page generation [closed]
I can't calculate right height for PDF page for it to be one long page without page breaks. In result there a bit of page on second page whatever the length of HTML really is. Different JS methods ...
0
votes
0
answers
20
views
Salesforce (SFDC) Lightning: “Section” component which hosts external app using ConnectedApp shows completely blank in Playwright (works in Selenium) [closed]
I’m automating Salesforce (SFDC) UI tests. When using Playwright, one of the “Sections” hosting external app using ConnectedApp via VisualForce pag on the record page (Account or Opportunity) shows ...