14,959 questions
0
votes
0
answers
65
views
I want to find a element in a bunch of urls but in second one the code get errors
while True:
user = str(list.readline())
if not user:
break
web.get(baseeitaa + user)
# text bar
textbar = web.find_element(By.XPATH, '//*[@id="column-center"]/div/...
1
vote
1
answer
1k
views
Unable to connect to existing chrome browser with selenium chrome driver after latest update to 137.0.7151.41
My google chrome updated to version 137.0.7151.41 (Official Build) (64-bit).
I'm using the chrome driver version 137.0.7151.40 from this url:
https://storage.googleapis.com/chrome-for-testing-public/...
0
votes
1
answer
463
views
Selenium WebDriver: "Session not created - Chrome not reachable" when using a copied Chrome profile
I am trying to automate Chrome using Selenium by creating a new Chrome profile, copying the contents of the Default profile, and launching it with Selenium to retrieve cookies. However, I keep ...
4
votes
0
answers
819
views
Selenium (Chrome 136): "Failed to decrypt" errors with copied profile prevent use of existing login session
I'm trying to automate Google Chrome 136 using Selenium 4.25.0 in Python to access https://aistudio.google.com using my existing, logged-in "Default" Google Chrome profile.
Previously, I was ...
0
votes
0
answers
101
views
Can't load profile in Selenium
Yesterday my computer automatically updated the Chrome browser and the latest version was 136.0.7103.93 (Official Build) (64-bit). After that my Selenium code stopped working.
This is my code:
...
1
vote
1
answer
227
views
Not able to connect to Selenium Chrome service
Getting the following error on my Mac: selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service /Users/michaelgelberg/.wdm/drivers/chromedriver/mac64/136.0.7103.92/...
0
votes
0
answers
61
views
Cache access denied error when chrome driver is used to reach a portal behind a proxy server
I have services running on docker containers:
-Python-Behave
-Selenium
-Chrome driver
I am trying to run the python container with a proxy. There is some problem when i try to reach the URL over the ...
1
vote
1
answer
463
views
Selenium chrome session not created and not accessible
I have several automation scripts that I need to access my chrome profile for it to work, but when I went to run today, all my scripts that I need chrome automated with my profile logged in this error ...
0
votes
0
answers
49
views
Selenium Java - disable WebAuthn functionality in ChromeDriver
Is there a way to disable the WebAuthn-API in the ChromeDriver?
I tried to add an extension, but this did not work.
final ChromeOptions options = new ChromeOptions();
options.addArguments("--load-...
1
vote
2
answers
192
views
Can't close cookie pop up on website with selenium webdriver
I am trying to use selenium to click the Accept all or Reject all button on a cookie pop up for the the website autotrader.co.uk, but I cannot get it to make the pop up disappear for some reason.
This ...
1
vote
1
answer
107
views
Rotating Authenticate Proxy In Selenium Using Chrome Driver
import zipfile
import json
import os
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
import time
def ...
0
votes
2
answers
149
views
Which Selenium WebDriver version for which Chrome version?
I do not understand which versions fit together here. Currently I use:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId&...
0
votes
1
answer
358
views
Selenium Download Not Working in Java + Spring Boot Project (Chrome 135, Selenium 4.31.0)
I'm building a Java 21 + Spring Boot 3 automation project where I use Selenium to automate Chrome. The Chrome browser opens correctly via ChromeDriver, everything was working a month ago, but now file ...
0
votes
1
answer
114
views
Download multiple files using CDP command
I am trying to download a couple of files using CDP but when I fetch the downloaded file using Download.getLastCompleted, it gives me the first file ID only. So, I added a wait for it but it never ...
0
votes
2
answers
415
views
How to handle proxies authentication pop-up using seleniumbase
I'm trying to use an authenticated proxy with seleniumbase (I'm using python) while running the browser in undetected Chrome (uc=True). However, despite trying multiple approaches, I'm unable to get ...
0
votes
0
answers
37
views
In Safari browser automation, Using selenium how to disable "Prevent cross site tracking"
In Safari Browser Outlook Web App, Opening Addin should set cookies in browser. "Prevent cross site tracking" option should be disable to set cookies. Manually On disabling "Prevent ...
0
votes
1
answer
234
views
System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 135
I know there are so many threads regarding this but my issue is a bit different.
My Browswer version is 134.0.....
My ChromeDriver Version is 134.0...
and Chrome Version 135 is not available yet for ...
0
votes
0
answers
28
views
Selenium 4 -Displaying org.openqa.selenium.remote.http.WebSocket$Listener onError java.net.SocketException: Connection reset
Below is the code and it is simple selenium code. Using Maven build tool. Chrome version is 134.0.6998.178
public class FirstTestCase {
public static void main(String[] args) {
...
2
votes
1
answer
146
views
SessionNotCreatedException when launching Selenium ChromeDriver with FastAPI Slack bot on AWS Lightsail
I have a FastAPI server with a Slack chatbot that launches Selenium for automating certain tasks. However, I'm encountering an issue when initializing the ChromeDriver with the --user-data-dir ...
0
votes
1
answer
256
views
Selenium 4.29.0 unable to create Chrome session
I've recently updated from Selenium 4.27.0 to 4.29.0 and I am getting the following error when trying to run a Selenium test:
org.openqa.selenium.SessionNotCreatedException: Could not start a new ...
0
votes
0
answers
52
views
Chromedriver does not load web page in headless mode
Our team is experiencing an issue with Selenium in Ruby that web page does not load when using Chrome browser in headless mode, page loads properly when running test with head. Also, we noticed that ...
0
votes
0
answers
105
views
How to read content from aspx page of type document which is rendering as pdf in chrome viewer using selenium java?
I have some code where clicking on a button will open the aspx page in a new tab. I'm able to download a valid pdf file by clicking on download icon in chrome viewer. The URL is dynamic and its query ...
0
votes
0
answers
21
views
How to test a form in an ASP.NET MVC web application?
I have found the product name ID and checked that it's neither hidden nor missing. However, when I call the function to retrieve the ID, it says the ID cannot be found. Are there any ways to fix this ...
0
votes
0
answers
186
views
When trying to run a simple python script with selenium i get the error: session not created: probably user data directory is already in use
i am currently trying to run a python script that navigate on the web with selenium and get the html of the product page on a web site and then do scraping to collect info. The info are stored in a ...
0
votes
2
answers
499
views
Receiving an ERR_HTTP2_PROTOCOL_ERROR sporadically when web scraping with python selenium chromedriver, but same request works as CURL
I have a fairly basic scraper set up to loop through a list of real estate agent profiles on Homes.com. My scraper worked consistenly for months, but then sporadically starts getting these sporadic ...