3,501 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
14
views
Handle MFA while running playwright tests in pipeline
I used all the methods like playwright state, playwright cookies and launch browser on specific port to handle MFA. This is working fine on local browser, but if I run the same in pipeline - MFA gives ...
-2
votes
0
answers
50
views
How to assess the trustworthiness of cloud browser automation platforms before trusting them with cookies/tokens/accounts and running scraping [closed]
I’m doing browser automation for data extraction and partially for user-like scenarios such as logging in, filling out forms, and exporting data from a personal account area. I want to use a third-...
1
vote
3
answers
64
views
Migrate MSTest v3 to v4 breaks Playwright Tests
I have a small Blazor WASM application called AudioCuesheetEditor. This application is tested by playwright tests for end 2 end coverage. I'm trying to update the project regularly when new ...
-1
votes
0
answers
23
views
How to inject audio into microphone stream in Playwright headless Chrome?
I am trying to automate voice testing for an AI chatbot using Playwright in a cloud environment. The challenge is programmatically injecting audio into the microphone stream during test execution.
...
Best practices
0
votes
5
replies
81
views
API testing approach
My team is developing functional component (developed in C#) which is API based. The component will handle API requests from external system (future to have UI test). I prefer to have API testing ...
0
votes
2
answers
54
views
How do I run npx bddgen?
I am trying to get my test project set up to run with Playwright, Cucumber, and TypeScript. I have a large bank of pre-existing Gherkin feature files, and have written TypeScript step definition files ...
-3
votes
2
answers
58
views
Setting up a Rails app in devcontainer with Capybara and Playwright for headless and non-headless system rspec tests [closed]
I would like to set up a Ruby on Rails app in a devcontainer that will allow me to use Capybara and Playwright for system tests, which I could run in either headless or non-headless mode.
I have found ...
0
votes
0
answers
77
views
decrypting oddspot data through response interception
import asyncio
from datetime import datetime, UTC
from playwright.async_api import async_playwright
captured = []
async def run():
async with async_playwright() as p:
browser = await p....
Advice
0
votes
2
replies
51
views
which is the best folder structure format for e2e automation, playwright?
I was looking into different folder structure for e2e automation framework using playwright. is this good practice to have spec, page object and data file is same folder in e2e?
apps/
└── app-e2e/
├─...
2
votes
1
answer
82
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, ...
0
votes
1
answer
98
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 ...
Best practices
1
vote
2
replies
67
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
85
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
77
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
84
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....