1,142 questions
0
votes
0
answers
42
views
Python asyncio script freezes indefinitely using Playwright and Semaphore [closed]
I am building a scraper/processor pipeline that iterates over a large list of URLs (~10k). For each URL, I perform the following steps asynchronously:
Scrape HTML using playwright.async_api.
Process ...
0
votes
1
answer
199
views
Problem launching chromium with remote-debugging-pipe from python
I was trying to launch chromium browser using remote-debugging-pipe in python,
but there is a problem everytime I tried to do so,
I am using this code,
I got help from gemini and chatgpt but they don'...
0
votes
3
answers
331
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 ...
0
votes
3
answers
118
views
Selenium can't click visible <button> with text "Download All"
I'm trying to click a "Download All" button using Selenium in Python. Here's the relevant HTML from inspect:
<button title="" type="button" class="bds-button ...
2
votes
1
answer
96
views
HttpsConnectionPool Error Selenium: while paste 3000 ids from column in a csv file using Selenium in input field of a URL. Works well for 200 ids
I am using selenium to automate a downloading of a report. for that i need to paste around 3000 ids in a loop for ids around 300 000 into a input field of a webpage and click download button and wait ...
0
votes
0
answers
54
views
Puppeteer Browser Crashes After File Upload and Processing (650MB Video File)
I'm using Puppeteer (version 24.6.0) to automate a video file upload (650MB) on a webpage. The upload works fine, but during the processing of the file, the Puppeteer-controlled browser crashes or ...
0
votes
1
answer
133
views
How to Freeze a Flourish Studio Bar Chart Race Every 0.01s for High-Quality PDF Capture?
I created the following Flourish Studio bar chart race as an example for this topic:
https://flo.uri.sh/visualisation/19321054/embed
Now, I want to capture a sequence of PDF prints from this bar chart ...
2
votes
1
answer
234
views
Browser-use OSError: cannot open resource
I am working with browser-use python library and I encountered a font error when running the code. The code works fine with most websites but for some reason, it doesn't work with others.
Details:
I ...
0
votes
1
answer
151
views
How can we automate data fetching for Core Web Vitals?
I have been asked to maintain a daily report where I keep a track of the number of good, poor and average urls every alernative day. The way that this works is usually that today, we would get the ...
2
votes
3
answers
1k
views
Puppeteer: How to Disable "Change Your Password" (Password Leak Detection) Popup in Chrome?
I am using Puppeteer for browser automation, and I encounter a popup in Chrome that says:
"Change your password. The password you just used was exposed in a data breach. Change it now in Google ...
3
votes
1
answer
349
views
Disable "You can open bookmarks, reading mode, and more from the Chrome menu" in chrome automation
In current Chrome/Chromedriver version (127, but this started some versions before), when running tests with Selenium, a "tooltip" with the following text appears:
You can open bookmarks, ...
0
votes
1
answer
63
views
How to search a text in excel file using Selenium Python
I have some data in an excel file. I want to go to excel file then search a text (taken from website table), then get all the data of that row which will be used to fill table in browser.
Example : I ...
0
votes
1
answer
42
views
Is there a way to scroll to the final product on the page? I can only fetch first 20 products from the page
I am trying to fetch and print all the listed product from the given url 'xyz' but currently facing issue with the scroll. It is fetching only first 20 products from the given link and rest I am ...
1
vote
0
answers
204
views
Whats the best way to stop and start selenium webdriver to prevent detection?
I would like to disconnect webdriver from the broswer when not in use and performing clicks (using a python mouse gui to click with x,y coordinates) to reduce the chance my bot or selenium from being ...
1
vote
1
answer
739
views
How i can click and hold button in Robot Framework? And how to get background color of the button?
I've just started learning automation, and robot is my first framework, I'm solving some tests from letcode.in practice. But I can't solve two problems from the second test: 1) Get the background ...
0
votes
3
answers
109
views
Selenium Webdriver - how to select element
In this below page excerpt, I need to be able to click 'App Profiles'.
But what ever I try I cannot get it to work.
I keep getting OpenQA.Selenium.NoSuchElementException.
<body>
<div id=&...
-1
votes
1
answer
304
views
Issue Configuring Chrome Options with Selenium WebDriver in JavaScript
I'm facing an issue when trying to open a specific site using Selenium WebDriver in JavaScript with the Chrome browser. The code below creates the browser driver, but it doesn't open the site when I ...
0
votes
1
answer
48
views
How do I interact with a standard browser based date time picker component using the Atata framework?
I need to get my atata script to set a date on my web form. The web form utlizes the tailwind css framework.
DateTime t = new DateTime(2024 ,02,17);
Go.To<...
0
votes
0
answers
111
views
How to open specific a profile chrome without ChromeDriver crashed with RobotFramework and Selenium
I have a site with captcha, I have already opened a chrome profile and logged in to that site. When I launched the test file, Chromedriver opened up the specific profile I selected but then everything ...
1
vote
1
answer
100
views
Getting a blank navigation dropdown when trying to access website using Selenium (using Python)
I am trying to automate a process where I can visit a website, hover over the menu navigation bar and click on options from the dropdown to visit that page.
I am working with Selenium (using python) ...
0
votes
1
answer
1k
views
How can I force Chrome to use dark mode for all websites via the command line?
I am trying to test the contrast of a website that has both a light and dark theme.
I want to test contrast in dark mode, but Chrome defaults to light mode.
When I go to chrome://flags, I see the ...
-1
votes
1
answer
139
views
Optimizing Selenium script for faster execution
I've developed a Python script using Selenium for automating tasks on Twitter, including logging in, posting tweets with images, liking own tweets, retweeting, and logging out. While the script works ...
0
votes
1
answer
2k
views
includes assertion in playwright for for CSS and Attribute?
Here I have a piece of code in Playwright with the ToHaveCSS function which returns the exact value of the mentioned CSS.
Locator:
locator('//label[text()=\'Chat Status\']/following-sibling::*/button')...
2
votes
1
answer
5k
views
Playwright is not generating videos when we create our own context
Videos are not generated in a playwright-report HTML report. Is there a workaround?
Below is the playwright.config.ts file:
import { defineConfig, devices } from '@playwright/test';
export default ...
0
votes
1
answer
62
views
Website interactive script to validate specific state after series of interactions
My main goal is to be able to see if the state on the website has changed. In order to see the desired state I need to do few clicks. Information that I am looking for is not present on the website ...