Skip to main content
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-4 votes
0 answers
44 views

Anti bot detection while webscrapping using playwright [closed]

For scraping sky scanner website, I am using playwright in python and my script is working but i am getting caught as bot it detects and takes me to captcha page. So I can't scrape website content. I ...
Zain's user avatar
  • 1
-3 votes
0 answers
50 views

Playwright is not able to get Non-JS accessible cookies , Camoufox library [closed]

The authentication cookies ARE present in the browser (as shown in dev tools), but Playwright isn't capturing them properly. Is this a common issue with how Playwright handles cookie contexts? The ...
Igor Savinkin's user avatar
0 votes
1 answer
68 views

How to generate bookmarks in a PDF?

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
78 views

How to abort an entire web request if a particular dialog appeared

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
84 views

Python script for Playwright - final page in list causes "domcontentloaded" error

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
58 views

How do I properly track authentication across pages from pff.com Domain

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
0 votes
0 answers
55 views

How can Playwright send the Proxy-Authorization while using Chromium?

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
188 views

My Playwright python script doesn't find input form fields

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
113 views

Using PyTest and Playwright, run one method before loading all the test files

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,817
0 votes
1 answer
49 views

TypeError: Controller.action() missing 1 required positional argument: 'self' on Controller of AI Agent [closed]

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
67 views

Issues with testing SAP cloud application through Playwright python

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
90 views

How to set all <select> elements to a specific value using Playwright sync_api in Python?

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
112 views

How to wait for element to disappear if you cannot rely on locators

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
  • 65
1 vote
1 answer
205 views

Python asyncio: execute an asyncronous function while the main thread is blocked [closed]

I'm coding a python project split into two parts: a PySide6 GUI interface that needs to run on the main thread synchronously, and consequently block it, a playwright virtual web browser (asynchronous)...
Sisyffe's user avatar
  • 304
0 votes
3 answers
235 views

python -playwright mouse pointer UI enable

I want a playwright python mouse UI enable script. so can i can see my mouse to be working in visual for my humanize automation. if any one can provide me any method or js script that will work plz ...
Keep Quit's user avatar

15 30 50 per page
1
2 3 4 5
38
Morty Proxy This is a proxified and sanitized view of the page, visit original site.