Skip to main content
0 votes
0 answers
78 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
0 votes
1 answer
98 views

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 ...
Abid's user avatar
  • 700
2 votes
1 answer
87 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
1 answer
244 views

This is my python code using on ubuntu to try fetch and extract data from https://www.sofascore.com/ I create this test code before using on E2 device in my plugin # python3 -m venv venv # source venv/...
RR-EB's user avatar
  • 55
1 vote
2 answers
172 views

I've been using Playwright to generate a document from HTML code with a table of content corresponding to the H1-6 tags I'm using. I was hoping that bookmarks in the PDF would be generated from those ...
Pierre Gidel's user avatar
0 votes
1 answer
130 views

I am currently trying to write a Playwright script to test a JavaScript page which is intended to produce several alert boxes. Because the testing is being done for beginners who would not understand ...
Mark Green's user avatar
  • 1,362
2 votes
2 answers
151 views

I'm trying to loop through a list of URLs checking if the pages contain the words "no longer available". I tested this out with a list of Wikipedia pages and it worked perfectly. When I use ...
The Ratman's user avatar
1 vote
1 answer
76 views

I am using Playwright and logging into the main authentication page. When I go to a new page (same domain), it returns results as if I'm not authenticated. If you go to the last URL w/out ...
Kevin3142's user avatar
1 vote
0 answers
129 views

I have a proxy server that requires a username and password to access (e.g., 127.0.0.1:8000, username: abcdef, password: 123456). When I use Playwright to access a destination website through this ...
nkbaixiaojie's user avatar
3 votes
1 answer
271 views

So I want to automate adding many team players, I wrote a script to do this with Playwright. As the players are much, the issues is that the script don't seem to find the input fields like the first ...
user1867071's user avatar
1 vote
1 answer
254 views

This question seems to be asked a lot, but I'm not finding any answers that work, or at least that work for what I'm looking for. The premise is simple: I have a website I need to automate testing on (...
MivaScott's user avatar
  • 1,827
-1 votes
1 answer
56 views

I have an AI Agent for which i have written a controller using Python 3.13 and Playwright. @Controller.action(description='Get attribute and url of the page') async def get_attr_url(self, browser: ...
user12730187's user avatar
0 votes
0 answers
95 views

I am trying to automate testing for an use case based on SAP Cloud application(Agent Performance Management) using Playwright python package. I am using chrome browser. When I launch the application ...
Subramanian's user avatar
0 votes
1 answer
125 views

I’m using Playwright’s Python sync API (from playwright.sync_api import sync_playwright). On my page I have multiple <select> elements like this: <select class="sc-fzXfMv sc-fzXfMw ...
Dawg's user avatar
  • 37
1 vote
2 answers
156 views

Playwright discourages ElementHandle, but how else would I do the following? # get a handle to the old message old_message_element = page.locator("#message").element_handle() # ...
Vulume's user avatar
  • 85

15 30 50 per page
1
2 3 4 5
38