Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
63 views

I need to design a frontend integration test architecture from scratch for an application split across many repositories, where each repository owns a separate feature of one product (such as user ...
Li Go's user avatar
  • 1
0 votes
1 answer
114 views

I have been browsing through web, debugging with llms but not able to resolve this simple thing. Here's my code: // @ts-check import { chromium, test } from '@playwright/test'; import { rmSync } from '...
Shivam Sahil's user avatar
  • 5,227
Advice
0 votes
2 replies
51 views

I am using Playwright to generate test cases and interact with web elements. In many cases, I rely on locators such as id, class, or name. However, I’ve encountered situations where these attributes ...
unknown_user's user avatar
0 votes
1 answer
85 views

In playwright (1.58.2), I have the following code: while (await this.loadMoreButton.isVisible()) { const detachEvent = this.loadMoreButton.waitFor({ state: 'detached' }); // bind to button we ...
Daniel Alder's user avatar
  • 5,555
-3 votes
0 answers
61 views

Playwright is producing false positives on GitHub: Github (passes): npx playwright test --grep-invert @prod --shard=1/3 Local (fails, same command, same commit as Github!): npx playwright test --grep-...
Banoona's user avatar
  • 578
1 vote
0 answers
86 views

I’m working on a system that performs login using client certificates and I need to run multiple browsers in parallel, each one using a different certificate. The requirement is to fully isolate each ...
Victor Matheus's user avatar
0 votes
1 answer
88 views

Body I’m trying to set up basic Playwright tests for an internal company portal that requires Microsoft authentication (M365 + MFA). Goal My goal is to: Run tests in headed mode once Manually log in ...
m0ss's user avatar
  • 492
Tooling
0 votes
1 replies
107 views

Curious how teams handle UI automation as their applications grow. Many teams start with Selenium or Playwright, but over time the test suite grows and maintenance becomes challenging when the UI ...
Kirubakaran Loganathan's user avatar
2 votes
2 answers
93 views

I have a question about dialog in Playwright Java. My understanding is that you can handle dialog through onDialog(), offDialog(), onceDialog(). But they are not suitable for testing if a dialog is ...
Phạm Quang Hưng's user avatar
0 votes
0 answers
72 views

I may have missed something completely basic in my setup. We have a cumulusci project, where we're building robot tests utilising SalesforcePlaywright.robot. I'm trying to test the Browser ...
Stephen O'Beirne's user avatar
4 votes
1 answer
106 views

I am trying to automate a webpage containing more than one scrollbar. Sometimes the scrollbar is on the left side and sometimes it is in the middle of the page (e.g.: adjacent to a web table). These ...
Soumya C's user avatar
  • 171
1 vote
1 answer
175 views

I am trying to run Playwright test as part of SSM Automation by invoking Lambda function. I tried few approaches to create Docker image. Use AWS nodejs-lambda base image. FROM public.ecr.aws/lambda/...
zdenko.s's user avatar
  • 1,126
-5 votes
2 answers
157 views

I can't make this work: from langchain_community.agent_toolkits import PlayWrightBrowserToolkit from langchain_openai import ChatOpenAI from langchain.agents import create_agent import asyncio import ...
Paulo Eduardo Dias da Silva's user avatar
0 votes
0 answers
96 views

we were using below code to run automation when there was electron BrowserWindow support but now our electron application is using Electron.WebContentsView, suggest changes for this? we are using &...
Lalit's user avatar
  • 11
Best practices
0 votes
0 replies
141 views

Spent the last few days going deep on MCP server options for browser automation and the token usage difference between Playwright MCP and OpenBrowser is something my team genuinely did not see coming ...
TestDino's user avatar
0 votes
0 answers
121 views

Currently Playwright supporting PASSED, FAILED, FLAKY, SKIPPED status and showing in html report. Sample Report: I have a scenario in my project to show few cases as "PARTIAL PASS". Is it ...
Kiran Kumar's user avatar
Advice
0 votes
2 replies
80 views

I had implemented playwright test with typescript. It's working good with following command. npx allure generate allure-results --clean -o allure-report npx allure open allure-report reporter: [['...
Ivan's user avatar
  • 2,802
Best practices
1 vote
2 replies
61 views

I am a experienced web developer, and a newbie in regards to end-to-end browser tests development. Currently, I am writing end to end tests for an existing website. Those end-to-end tests I develop ...
k0pernikus's user avatar
  • 67.9k
3 votes
0 answers
61 views

I’m currently working on an automated test using Stagehand, however, when trying to upload files, I’m not able to do it reliably. After filling out a form, the test successfully uploads a file using ...
Edwin Casallas's user avatar
Advice
1 vote
2 replies
118 views

I have a list of 1,000 Twitter handles and I need to check if each user has tweeted a specific keyword at least once. Since the Twitter API Free tier no longer allows reading user timelines or ...
mala fama's user avatar
2 votes
1 answer
140 views

There is nice documentation for how to tell Playwright to retry tests using Node.js, but I can't find anything on how to do so with Python/Pytest. The closest solution I can find is pytest-...
Peter's user avatar
  • 25
Advice
0 votes
0 replies
48 views

Before we start, I want to be clear I have searched the docs and multiple forums for a solution and understand what I'm looking for might be an anti-pattern but any input would be appreciated. ...
Chris GW Green's user avatar
0 votes
1 answer
142 views

Using dependencies = [ "pytest>=9.0.2", "pytest-playwright", ] in a Python application I am setting a a browser end to end test. I have defined custom markers: [tool.pytest....
k0pernikus's user avatar
  • 67.9k
2 votes
1 answer
232 views

I am setting up Playwright + TypeScript + ESM with data‑driven tests (reading from an Excel file). However, in VS Code, the Playwright Test Runner button does not appear. In the terminal, Playwright ...
Elegant Student's user avatar
6 votes
1 answer
283 views

Since Playwright 1.54 and around MS Edge 140 I am having trouble keeping the screenshots stable between runs on the same machine, and between runs on different machines (WSL vs. Ubuntu). I narrowed it ...
tobias47n9e's user avatar
  • 2,211
0 votes
1 answer
127 views

await page.waitForSelector('#progressBar', { state: 'hidden' }); //work await page1.locator('#input').fill('1234567890'); await page.getByRole('link', { name: 'click me' }).click(); //after clicking ...
Jack's user avatar
  • 95
4 votes
1 answer
387 views

I’m trying to make my Node.js script automatically log in to YouTube, but when I use Puppeteer (even with the stealth plugin) or Playwright, the Google login page shows: “This browser or app may not ...
Jean François Manatane's user avatar
0 votes
0 answers
85 views

I'm trying to speed up authentication in my Playwright E2E tests. Currently using UI-based login which takes 30-60 seconds per account. Our app uses Azure AD B2C for authentication. What I've tried: ...
Keith Elevate's user avatar
Best practices
1 vote
2 replies
74 views

I’m using an online code editor that only runs in the browser. There’s no Git support, no zip upload, and no API. The only way to manage files is through the UI (create file/folder, delete, edit ...
Kingson Wu's user avatar
-2 votes
1 answer
95 views

Tried to write a Playwright script for Navigating on dashboard pages, however when clicking on the collapsible sidebar, it says Timeout exceeded. I tried adding delay however it seems its not working: ...
Sarah G's user avatar
  • 61
0 votes
1 answer
127 views

I'm writing a Playwright script to log in to dashboard, however my script won't redirect to the Dashboard itself after clicking the Login button. Not sure why but it says Timeout exceeded. import { ...
Sarah G's user avatar
  • 61
0 votes
1 answer
178 views

I am struggling of how to integrate Artillery's Playwright engine for my load tests. Both packages are packaged within a DevContainer based on the instructions of this question. I am able to execute ...
V. Pravi's user avatar
4 votes
1 answer
102 views

I am using Playwright to automate a website: https://demo.automationtesting.in/Register.html Without filling anything, click on Submit. An error tooltip will show up. I would like capture and validate ...
Deepak Sporty's user avatar
2 votes
0 answers
221 views

I’m trying to set up a DevContainer environment based on mcr.microsoft.com/devcontainers/javascript-node:24-bookworm that includes: Artillery (performance testing), Playwright test runner, its ...
V. Pravi's user avatar
1 vote
2 answers
174 views

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 ...
Sven's user avatar
  • 459
Best practices
0 votes
4 replies
115 views

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 ...
Sam's user avatar
  • 81
0 votes
0 answers
238 views

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 ...
Martin Gilchrist's user avatar
0 votes
0 answers
105 views

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....
user32082283's user avatar
Advice
0 votes
1 replies
197 views

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/ ├─...
Suhail Ahmed's user avatar
2 votes
1 answer
144 views

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, ...
Abu Sadaf's user avatar
Best practices
1 vote
1 replies
119 views

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 ...
Cholis's user avatar
  • 109
2 votes
1 answer
165 views

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() ...
Bret Hess's user avatar
  • 542
0 votes
2 answers
139 views

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. ...
CD46's user avatar
  • 33
2 votes
3 answers
286 views

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....
emery's user avatar
  • 10k
0 votes
1 answer
400 views

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 ...
prakhar Dixit's user avatar
Tooling
0 votes
2 replies
57 views

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 ...
MortenB's user avatar
  • 3,831
0 votes
2 answers
365 views

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 ...
Binaya Shrestha's user avatar
Advice
0 votes
3 replies
93 views

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 ...
Krolik1337's user avatar
-2 votes
1 answer
390 views

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 ...
Gregory Suvalian's user avatar
Advice
0 votes
1 replies
114 views

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 ...
Campaio's user avatar
  • 13

1
2 3 4 5
70