r/SeleniumPython

379 archived posts · Sep 2021 – Sep 2026

Random post

Hey all - I'm going a bit crazy here and not sure why this is suddenly happening.

Background: I have a number of Python (3.12) programs which use Selenium (4.19) to perform business process tasks on external websites for which there are no APIs that I can interact with directly. Essentially, these 'bots' perform a huge amount of repetitive/data entry work which would otherwise require a LOT of human labor.

These programs have been running without issue for months. Nothing has changed in regards to the Python environment. The code specified chrome version 121, and selenium manager makes sure the proper versions of Chrome and ChromeDriver are used. All of a sudden, this past Friday evening (

54

Hello everyone,

Background: former software engineer with 2 years and 5 months of experienced.

I am from Philippines and currently unemployed. So, what I actually do in my free time is to upskill/learn something new. I've been studying python selenium for the past 2 weeks. I know the waits, locators, xpaths, find_element and etc. Basically, the basics. I also succeed with the captcha resolver and applied the rotating user-agent, proxy and stealth for the antibot detection. Currently I am planning to add some more like webrtc/canvas fingerprinting. My main goal here is to learn more that's why I am looking for someone/dev buddy to collaborate with your projects. My only purpose is to imp

30

I want to create scraper that will use VPN, and i have installed browsec extension. I cannot get it to work. Like it doesnt exist. I can activate it manually and pin it to be visible but i cannot to anything with script. Ideal case would be to change location every 30 rows. But simplier would be just to turn it on and off every 30 rows. What im i missing?

30


u/MouseDecent6676•

Hello everyone. I’m having an issue with simple code with selenium-python.

import time from selenium import webdriver from selenium.webdriver.common.by import By driver = webdrvier.Chrome()

And that’s it, an empty chrome page automatically opens and in terminal there is error message: USB: usb_device_handle_win_cc 1045 Failed to read descriptor from node connection: A device attached to the system is not functioning.

Please help me out to solve the issue. 🙏🏻🙏🏻🙏🏻 OS windows 11. I’m new to selenium as well.

30

u/lodhik9•

I’m a bit confused about Selenium’s capabilities regarding parallel testing. I know Selenium IDE mentions parallel execution, but does that mean Selenium WebDriver itself lacks this feature? Is parallel execution only possible through external frameworks like TestNG, JUnit, or Selenium Grid? Or does Selenium have some built-in mechanism for running tests in parallel across browsers and OS configurations?
Would appreciate any clarification or real-world examples of how you handle this in your setup!

22

u/TheAmalLalgi•

I'm currently working on a project that requires automating the solving of reCAPTCHA dialogs. I need to solve a large number of them quickly and concurrently.

Initially, I used a script that converted the audio CAPTCHA into text, but it had several drawbacks: it was slow and could only handle one CAPTCHA at a time. Since my project requires concurrency, this approach was inadequate.

I later switched to using a browser extension called NopeCHA, which resolved the concurrency issue. However, it introduces a new problem—the extension needs to be pre-configured, which is cumbersome and not scalable.

I'm now looking for a more efficient solution—one that can solve reCAPTCHA dialogs rapidly and

20

u/gatomato92•

Hello everyone, I need some help because I'm trying to run selenium in headless mode on my proxmox server but it's not working. Here are the specifics:

- i set up a proxmox container with ubuntu-24.10-standard_24.10-1_amd64.tar.zst

- i created inside a venv for python, installed selenium and the necessary packages and chrome.

- I created a test_selenium.py script like this:

from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager

# Set up Chrome options
chrome_options = Options()
chrome_options.add_argument("--he
22

I can't get to match the versions of chromedriver and chrome browser

last version of chromedriver is .88

last version of google chrome is .89 ( it updated automatically so it broke my script)

yes, google provide older versions of chrome, but doesnt give me an install file, it gives me a zip with several files ( as if it were installed, sort of- sorry, im newbie) , and I dont know what to do with that

could someone help ? thanks!

22

u/shadowlend_99331•

trying to make a bot with 0 selenium experience but i have some code im trying to make a bot that finds the correct answer on this site and it answers it for you but i cant seem to find the answer in the html or where ever it is suppose to be

20

u/Ambu4•

I’m trying to run the “chromedriver” command on python (selenium). I have the chrome.exe in a folder that I can successfully path on Python, but I can’t fire the “chromedriver” command. I have it blocked as it gets considered suspicious/malware and can’t find a way to disable the block on it. Hopefully someone can help me ✌🏼

21

u/MoltenBlox_YT•

I have a selenium script that is automating a task on a website, and it requires a captcha to be done before submitting. i've been using the buster extension but after a while i get an error stating that my computer or network is sending automated queries. is there any way i can just get past the captcha altogether programatically?

21