14,959 questions
-5
votes
0
answers
48
views
how do captcha solving services get the captcha in order to see the challenge? (in order to solve it) [closed]
How do you even load a captcha from one browser onto another/ even see the problem?
does anyone have code examples how you can sort of stream captchas from a page to a secondary page? or just even ...
0
votes
0
answers
72
views
A problem with Selenium WebDriver manager
I've been parsing some websites using Selenium webdriver (its Chrome variant in particular) about a month ago and all worked fine (using Google Colab). I'm trying to run the same code now and it doesn'...
Best practices
1
vote
3
replies
81
views
Using selenium waits as asserts
I'm trying to use asserts in selenium java. I read that for every validation i need to use an assert as best practice.
i stumbled upon this code example:
WebElement button = wait.until(...
2
votes
2
answers
262
views
Error message when scraping website via selenium
The Python code:
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.support.ui import Select
import pandas as pd
import time
# define the ...
1
vote
1
answer
103
views
Chrome 141 + Xvfb + Selenium: black screenshots after upgrade (worked on Chrome 132)
I’m using Python + Selenium + pyvirtualdisplay (Xvfb) to run Chrome and capture a series of screenshots via ffmpeg.
The series of screenshots is blank while only the last screenshot is proper. As the ...
-1
votes
1
answer
59
views
Selenium script marks all search results as “not found” because details load only after clicking a link [closed]
I’m using Python + Selenium + ChromeDriver to check a list of titles (from a CSV file) against an online library catalog.
My script searches each title and tries to determine if a specific library has ...
0
votes
1
answer
78
views
How do I scrape a person's name from their LinkedIn profile using Selenium's Chrome driver in Python?
I have a Python script that uses Selenium's Chrome driver to log into LinkedIn and visit one profile. That works fine. However, I can't get the script to scrape the person's name from their profile.
I ...
1
vote
1
answer
136
views
Appium fails to find chromedriver for WebView: Trying to use binary that doesn’t exist
I’m trying to automate an Android WebView app using Appium + WebdriverIO (v9) for my hybrid app.
My test fails when I try to switch to the WebView context:
[0-1] 2025-09-25T13:54:41.590Z WARN ...
-1
votes
1
answer
73
views
Handling timeout in Selenium Python
My webpage taking close to 5 minutes to complete the process after clicking a button.
I am using the following code to perform the click
from selenium import webdriver
from selenium.webdriver.common....
0
votes
0
answers
94
views
Chrome --remote-debugging-port not works
On Win 11,I try to run chrome using the --remote-debugging-port with --user-data-dir, and the chrome opens, but when I try to find the port using netsat -an that port doesn't shows up. Currently I am ...
1
vote
2
answers
157
views
Chrome Headless mode resolution issue
I have been working with BDD Test automation since 3 years now that used Neodymium 4.1.5 version with Java 11. recently since 2 months I am facing issue with Chrome Headless mode execution where ...
0
votes
0
answers
63
views
Disable assignment of window.location in Selenium
I'm trying to extract data from a website using Selenium. On random occasions, the page will do a client-side redirect with window.location. How can I disable this?
I've tried redefining the property ...
1
vote
2
answers
432
views
Loading unpacked Chrome extension with Selenium 4.34.2
I am trying to load an unpacked Chrome extension that is stored (as an unpacked folder) in the same folder where my script is running. This is the extension.
import time
from selenium import webdriver
...
0
votes
0
answers
50
views
StaleElementReferenceError in Selenium when running in Docker but not Locally
For this apps test, doing a series of cucumber steps with the verification is in selenium. In the steps we hover over an element which causes a tooltip to pop-up. Selenium is then supposed to locate ...
1
vote
1
answer
92
views
When I try to run my cucumber file on Jenkins, Jenkins looks at my local directory instead of GitHub
I am running Jenkins on my local machine from port 8080, the pipeline is connected to my GitHub through the plugin and I have confirmed that Jenkins can see my Jenkinsfile on my repo. There is a step ...
5
votes
1
answer
8k
views
How to suppress Chrome GCM DEPRECATED_ENDPOINT errors when running Selenium WebDriver? [closed]
I'm running a web scraping project using Selenium with ChromeDriver in headless mode, and I'm constantly seeing the following logs in my terminal:
[20376:708:0708/170807.138:ERROR:google_apis\gcm\...
0
votes
0
answers
134
views
ChromeDriver 138 crashes/ECONNRESET waiting for URL change
I'm running some Nightwatch tests, on a headless browser, running in Docker, on Bitbucket, using the latest Chrome and Chromedriver (v138).
"devDependencies": {
"@percy/cli&...
2
votes
0
answers
68
views
Linux Chrome throws "Could not start session. Response code 500" with a valid AutoSelectCertificate JSON policy while running automatic tests [closed]
For development of automatic tests with Java/selenium, that uses a P12 certificate for authentication, I'm having problems running tests in Chrome in a Linux Docker environment.
I'm trying to use the ...
0
votes
0
answers
92
views
undetected_chromedriver loads Chrome Profile but code crashes afterwards
I wanted to access logins in my chrome profile but every time i try to access it, the window opens correctly but no further action gets performed like opening the link or anything. The code crashes. I ...
0
votes
0
answers
28
views
Running Kibana Functional Tests in Docker Fails with WebDriver: session not created (user-data-dir conflict)
I am developing my kibana plugin. I coded some tests which I can run in local easily like this:
TMPDIR=$HOME/tmp TEST_BROWSER_HEADLESS=0 yarn test --functional-test --testConfigFile ./test/functional/...
0
votes
1
answer
254
views
I cannot open browser with robot framework
Here my sample code:
*** Settings ***
Library SeleniumLibrary
*** Variables ***
${URL} https://www.google.com
${BROWSER} chrome
*** Test Cases ***
Browse Google
Open Browser ...
0
votes
0
answers
37
views
Selenium session cookies are not being fetched properly
import sys
import time
import json
import os
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
from google import genai
...
0
votes
2
answers
1k
views
Cannot use local user data for Chrome while running Selenium
I am running python program with Selenium to automate browser page processing. In order to open the pages correctly, I need to use my login and password saved in the Chrome user profile for my website....
-3
votes
1
answer
55
views
Facing this query while executing Selenium Test by TestNG
Earlier it was launching the browser successfully but it now is not even appearing.
[main] INFO org.testng.internal.Utils - [TestNG] Running:
E:\JenkinsPractice\Jenkins 1\testng.xml
[main] INFO io....
0
votes
1
answer
83
views
Chromedriver with proxy
We have a test software based on chromedriver. The test is a site check from one computer, but under different proxies. The proxy is connected via a JavaScript script. About a month ago, I had to edit ...