3,498 questions
Advice
0
votes
2
replies
27
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 ...
-2
votes
0
answers
31
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
31
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
0
replies
29
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
62
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
17
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 ...
-2
votes
0
answers
58
views
To Run firefox browser using launch_persistent_context of playwright python [closed]
from playwright.sync_api import sync_playwright
profile_path = r"C:\Users\kdutt\AppData\Roaming\Mozilla\Firefox\Profiles\p283dicx.default-release"
firefox_path = r"C:\Program Files\...
Advice
0
votes
1
replies
30
views
How do I convert a trx file into html in azure test pipeline
So how do I convert a TRX file into html in azure test pipeline.
We have a selection of pipelines which run tests on a nightly basis. The tests are designed in Visual Studio with C#, Playwright, ...
Advice
1
vote
3
replies
72
views
Cannot read properties of undefined (reading 'goto')
I am super new in javascript and playwright. I encountered below error when trying to run my code.
Cannot read properties of undefined (reading 'goto')
This is my code.
exports.LoginPage= class ...
0
votes
1
answer
80
views
Is there a beforeAll in Playwright that will run only once across all projects?
Running user profile actions in multiple Playwright projects causes errors. A test case that e.g. resets a password will only pass in one project and fail in the others as the reset works only once.
I ...
0
votes
0
answers
77
views
URL Targeted web crawler [closed]
I have a bit of code I am trying to build to take a specific tumblr page and then iteratively scan by post # sequentially and check to see if a page exists. If it does it will print that full URL to ...
Tooling
0
votes
2
replies
49
views
How to write tests which analyze HTTP requests made on NextJS server side?
I work on a NextJS project with Pages Router. We are using Jest for unit tests and Playwright for E2E.
The application we are making is a funnel with several steps. Each step is a form with several ...
2
votes
0
answers
63
views
How do I run Playwright codegen with the Chromium launch argument `disable-blink-features`?
I am writing a Playwright script to automate adding end screens to YouTube videos. In order to log in to YouTube, I need to launch Chromium with the flag --disable-blink-features=AutomationControlled.
...
0
votes
0
answers
49
views
Camoufox browser window remains visible in WSL even when `headless` is set to `virtual`
Camoufox browser window remains visible in WSL even when headless is set to virtual
Description
When headless is set to "virtual", the Camoufox browser window still appears on the screen in ...
0
votes
1
answer
62
views
How can I avoid clearing test-fixtures in Shopware accepte-test-suite
I am using https://github.com/shopware/acceptance-test-suite/ to run playwright tests. Part of this is that the test suite creates test users and cleans up those after the test passed or failed.
For ...