playwright (typescript) custom default snapshot name including value set in config use settings
In the PlaywrightTestConfig we set a custom value in the use section i.e
Nested div and table elements doesn’t return values in playwright
Hello currently i’m working with playwright and wanted to catch nested elements
and put the values in array.
Playwright can annotations be seen in Azure pipeline test reports
I’m using annotations to document when a test should fail because of a known bug. How can I get the information to show in Azure pipeline reports, in a similar way to how they are shown in html reports within the annotation section?
No longer able to dynamically import JSON files in Playwright
It used to be possible to dynamically import JSON files in Playwright, however, I recently updated all my NPM packages and I now get the following error.
No longer able to dynamically import JSON files in Playwright
It used to be possible to dynamically import JSON files in Playwright, however, I recently updated all my NPM packages and I now get the following error.
How to getProperty in Playwright
I need to get a property from the element.
How do I do that in playwright?
I can do getAttribute but I don’t see an option for getProperty?
Playwright – how to expect certain results from a response to a network request?
New to playwright and coding so bear with me. I am printing an output file from an application and need to confirm the print request is completing. Once the print button is selected, a request to startExport is executed followed by getExportStatus. I need to expect in playwright for the 2nd request’s response to contain results of completed: true and progress: 100 (because if the print request fails then the response is completed: false and progress: 0).
!(https://i.sstatic.net/lGUBpmO9.png)
!(https://i.sstatic.net/vXhUBHo7.jpg)
Playwright to automate a browser action and need to open the print dialog pressing `Ctrl+P` key does not seem to work
Hi we are opening the new page and trying to perform
Ctrl+P keyboard action on the new page, code is attached below
Parallel Execution of UI Checks with Multiple Users Using Playwright
I am working with an array of data received from an API, which contains 5000 items. I need to perform some checks on each item in the user interface (UI). I want these checks to be executed simultaneously by 3 users.
Playwright – route.fetch: Test ended error
In my SPA, I am using page.route() to intercept an api request. Ex: /core
The same api is getting called multiple times when I move across the pages and finally, test fails with a message route.fetch: Test ended error.
From the traces, I could understand that when the api is called first time, it is getting fulfilled, but the second time, before it gets fulfilled, test completes.