3,493 questions
Advice
1
vote
3
replies
34
views
Playwright Automation Script
Hey Hope you are doing well,
I need swagger api automation done via playwright python automation script on chrome browser
Also need python framework for Ansible tower automation
Add your suggestions ...
Tooling
0
votes
0
replies
47
views
How to configure Opencode + WSL + playwright-cli
I have got: Windows 11 with WSL. Opencode windows application.
Opencode server runs in WSL, App connects to it.
I have got playwright-cli installed in WSL.
Opencode server is run with Systemd Unit.
...
Tooling
0
votes
0
replies
49
views
Self healing in Playwright with Typescript
Hi I'm currently working on playwright with Typescript. Anyone implemented Self healing in Playwright with Typescript. what would be the best approach to do? Can we use Healenium with Playwright? If ...
Best practices
0
votes
0
replies
73
views
Best architecture for frontend integration tests in a multi-repository setup with shared page objects
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 ...
0
votes
1
answer
150
views
Playwright giving me hard time running a browser on existing chrome profile
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 '...
Advice
0
votes
2
replies
64
views
How to reliably locate elements in Playwright when id, class, and name attributes are missing or dynamic?
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 ...
0
votes
1
answer
92
views
Lock playwright locator to a specific (existing) dom element
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 ...
1
vote
0
answers
93
views
How to isolate client certificates per browser context in Playwright for parallel execution? (Ubuntu)
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 ...
0
votes
1
answer
101
views
Playwright (Edge) fails after "Switch Edge profile" during login.microsoftonline (Target page has been closed)
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
...
Tooling
0
votes
1
replies
113
views
Do teams still find UI automation with Selenium or Playwright difficult to maintain as projects scale?
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 ...
2
votes
2
answers
96
views
Testing if a dialog is pop-up with Playwright for Java
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 ...
0
votes
0
answers
74
views
Open Test Browser incorrect Arguments in robot file
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 ...
4
votes
1
answer
112
views
Scrolling secondary scrollbars in webpage using Python Playwright
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 ...
1
vote
1
answer
194
views
How to run Playwright from AWS Lambda
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/...
-5
votes
2
answers
166
views
Problem with setting up Langchain agents to use Playwright
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 ...