157,747 questions
2
votes
1
answer
729
views
Selenium headless mode not working in Chrome in 2025
I have a Python script to web scrape an ajax page, url: https://whatson.bfi.org.uk/Online/default.asp, using Selenium in Chrome. I followed the suggested syntax but still get nothing. My selenium ...
1
vote
2
answers
111
views
How to get data from 'Balance Sheet' on 'Google finance' with Python and Selenium?
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.chrome.options import Options
from bs4 import ...
2
votes
2
answers
97
views
Encountering an error while using Selenium to search for a stock on Google Finance
I tried to search stock in google finance as below.
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver....
1
vote
2
answers
347
views
How to improve selenium script so that the captcha does not appear
My aim is to fetch search-engine results (urls) from yandex.ru
I am running this this selenium script. The script is working fine on my PC, but on the server I see sophisticated captch (see Image ...
0
votes
2
answers
64
views
How to click or select a particular radio button out of 2 or more radio buttons by using Selenium C#?
The following login page link: https://rahulshettyacademy.com/loginpagePractise/ has 2 radio buttons: Admin and User
I have right-clicked on User radio button and then I have selected Inspect to have ...
0
votes
1
answer
60
views
How to properly add selenium 4.31 to POM
I am trying to use selenium in a java project, and I started using the pom in the example provided in the documentation:
https://www.selenium.dev/documentation/webdriver/getting_started/first_script/
...
1
vote
0
answers
50
views
Deactivate Google Password Manager in cucumber Tests
One of my rails cucumber features is failing. Showing the browser in parallel shows me the reason. The Google password manager is signaling a data breach while running this test. Other 30+ test suceed ...
0
votes
3
answers
123
views
How can I automatically dismiss the "Open Microsoft Teams?" browser pop-up in Selenium?
https://teams.microsoft.com/dl/launcher/launcher.html?url=%2F_%23%2Fl%2Fmeetup-join%2F19%3Ameeting_YjdjZDdiNTAtYzk0Ny00NjQ5LThjYjUtZDdhNTgxZmJkNzFk%40thread.v2%2F0%3Fcontext%3D%257b%2522Tid%2522%253a%...
0
votes
1
answer
48
views
Locate link that is not an anchor and does not have unique identifiers other than text
I have to log into a website and navigate to a specific link. The content on the site is dynamic and tends to move, so I don't really trust using an XPath. Also, the link is not in an anchor, does ...
0
votes
0
answers
53
views
Control already opened chrome browser using python
Using python I was able to control already opened chrome browser.
previously i used to run chrome with below command
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-...
0
votes
1
answer
57
views
Unable To Interect with element in div || Selenium
keyword_input = wait_for_element(
driver,
By.XPATH,
'/html/body/div[12]/div[2]/div/div/div/main/form/div[14]/div/div[2]/input',
description="Keyword input field"
)
if ...
1
vote
4
answers
95
views
Can not find shadow-root using selenium?
i try to find a shadow root on a website and clicking a button using the following code:
import time
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium....
1
vote
1
answer
4k
views
Selenium 4.32.0 does open chrome but doesn't load the URL using my default profile for persistent login
When the browser opens it just stays put and doesn't act. The driver.get(url) doesn't make a request, nothing happens in the browser. I haven't changed my code and it used to work before. Chrome is ...
0
votes
1
answer
471
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 ...
0
votes
0
answers
42
views
Selenium ChromeDriver freezes in the constructor on an Async operation
I'm using this code to create a new instance of Selenium ChromeDriver in C#:
internal static IWebDriver createMyDriver()
{
var opt = new ChromeOptions();
var userProfile = Environment....
-3
votes
1
answer
94
views
Issue in scraping data
I have an issue in scraping schools data. I need their email and website URL. I tried a lot but it's returning empty results.
What's the best way to do this?
Here is the code:
from selenium import ...
0
votes
2
answers
97
views
Selenium driver.get(url) does not open the URL
I tried to run a code that browses a URL by using Selenium Driver, but it doesn't work.
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome....
0
votes
1
answer
178
views
DevToolsActivePort file doesn't exist on VBA
I suddenly got this error at .Start method on multiple computers from yesterday (2025-May-9).
until then, it'd worked without a problem.
SessionNotCreatedError
session not created: DevToolsActivePort ...
1
vote
0
answers
136
views
Issue with Microsoft Edge High DPI Settings and Selenium WebDriver
Subject: Microsoft Edge with High DPI Settings Fails to Load Pages with Selenium WebDriver
I am a software engineer working in Japan and would like to report an issue with Microsoft Edge browser when ...
0
votes
1
answer
63
views
Is this folder structure possible in Behave Selenium?
I'm currently refactoring our code and our organization wants to combine different repositories into 1 and now I'm arranging the folder structure.
DIRECTORY STRUCTURE:
+-- main_repository/
+-- ...
0
votes
3
answers
74
views
Error entering search after clicking a radio button using Selenium in Python
The aim of my program is to enter a set of postcodes into a flatshare website (https://www.spareroom.co.uk/flatshare-house-share/uk/) and return the number of rooms wanted and rooms available for each ...
0
votes
1
answer
54
views
Selenium - How to handle a scroll bar inside a pop-up screen
I am trying to access a scroll bar in a pop-up screen but every time I try, the outer scroll bar is being accessed by the automation script.
The pop-up screen displays Terms and Conditions, I need to ...
1
vote
0
answers
75
views
Selenium intermittently fails to find JavaScript-injected data ("venueProfile") in page source
I'm scraping the following page using Selenium:
https://www-eur.cvent.com/venues/en-US/dubai/hotel/delano-dubai/venue-12d8dd54-25d5-49f8-99a0-d292e52f3b34
My goal is to extract the venueProfile JSON ...
0
votes
1
answer
79
views
How to log in to a website using the requests library (python)?
There is a website where I need to log in
requests with authorization are sent to https://auth.dikidi.ru/ajax/check/auth/
This is my code:
import requests
with requests.Session() as session:
url =...
4
votes
0
answers
828
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 ...
5
votes
2
answers
4k
views
Selenium 4.25 opens Chrome 136 with existing profile to "New Tab" instead of navigating with driver.get()
I'm using Python with Selenium 4.25.0 to automate Google Chrome 136. My goal is to have Selenium use my existing, logged-in "Default" Chrome profile to navigate to a specific URL (https://...
0
votes
0
answers
46
views
Selenium + ChromeDriver crash when scraping Google Maps entries with Selenium on MacOS
I’m building a Telegram bot in Python that scrapes points of interest (POIs) from Google Maps using Selenium. The overall flow works, but as soon as I try to scroll through and click on the .hfpxzc ...
1
vote
0
answers
98
views
Getting "SessionNotCreatedException" error while running selenium tests in docker container
I have my test automation framework built using Selenium with Python, and I'm trying to execute my tests in a container using docker. While doing so I'm getting "SessionNotCreatedException"
...
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:
...
0
votes
0
answers
124
views
Chrome profile is selected but not loading the website with Selenium
I’m using Selenium with Python to open a Chrome browser using my existing user profile. The browser opens, and the correct profile is selected, but when I try to navigate to a website (like YouTube), ...
-3
votes
2
answers
65
views
Selenium can't close notification popup on https://www.e-crvsp.sp.gov.br/
I'm trying to automate some tasks using Selenium on the following website:
👉 https://www.e-crvsp.sp.gov.br/
However, I'm stuck at the very beginning: there's an initial notification popup, and I can'...
0
votes
0
answers
406
views
I'm trying to use the browser-cookie3 Python package to extract cookies from Chrome using the following code:
import browser_cookie3
cookies = browser_cookie3.chrome(domain_name="example.com")
for cookie in cookies:
print(cookie)
However, I get this error:
Traceback (most recent call last):
...
1
vote
1
answer
230
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
31
views
Selenium BDD framework: Which files to keep under src/main/java ; src/main/resources ; src/test/java ; src/test/resources for a banking application
Please help!
I want to use selenium BDD framework with Maven repo.
I am unsure which files to keep under below folders for a banking application:
src/main/java
src/main/resources
src/test/java
src/...
0
votes
5
answers
106
views
Selenium NoSuchElementError on Handelsregister.de after clicking "Normale Suche"
Title:
Selenium NoSuchElementError in headless Firefox on handelsregister.de after clicking "Normale Suche"
Body:
I'm using Selenium (Firefox in headless mode) to automate a document search ...
1
vote
0
answers
258
views
Selenium request timeout with '--user-data-dir' argument
It's about a week that my application can't open any webpage with Selenium in Chrome with Profile.
Application is based on C# .NET Framework 4.7.2
Selenium.Support version : 4.32.0
Selenium....
1
vote
1
answer
64
views
Element is not interactable through selenium automation
I want to select the "Round Trip" radio button after clicking the "Both" button. However, the website has right-click disabled, and I am receiving an error on SelectorHub stating, &...
0
votes
0
answers
38
views
Selenium wire failing to intercept request randomly
I have a scraping script that navigates to a website that contains the widget I want to scrape. The driver clicks a button that should trigger a xhr request and has never failed to do so in my manual ...
0
votes
0
answers
67
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 ...
0
votes
2
answers
65
views
Selenium can data under multiple nodes be merged under single node?
Is it possible to merge two array nodes into one? I'm trying to get everything under class container-ingredient_group, but each div block comes out as a separate block. When extracting data, it doesn'...
1
vote
1
answer
473
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 ...
1
vote
1
answer
223
views
Driver Version not being recognized - Selenium and Microsoft Edge
I have a custom application that uses Selenium and Microsoft Edge to confirm successful logins to websites and send out a report on which websites were successful, which were not.
My set up is Java, ...
1
vote
0
answers
38
views
Excel VBA need help using Selenium to extract data from hidden tabbed table on webpage
HockeyReference.com has a table on each player's page called NHL Possession Metrics, and that table has selectable tabs for "All", "Even Strength", "Power Play" and other ...
0
votes
0
answers
36
views
Selenium doesn't detect specific item when not being active in the tab in the browser but works if I am active
I am trying to scrape from a very specific site that has two things that doesn't work as expected:
reject the cookie banner using reject button
enter a specific section to get a view about the ...
0
votes
2
answers
161
views
SeleniumBase click on button via text within it using XPATH
I am currently writing a program in Python using SeleniumBase, however, I want to click a button via the text inside it and it is not working. This is an example code block:
from seleniumbase import ...
-1
votes
1
answer
102
views
"Pop-up" Not Closing Using Normal Click Methods
I am trying to close the "pop-up" that appears when you click on "view flight details" on this page using Python Selenium. For some reason whatever I try I can't get it to close. I'...
1
vote
3
answers
230
views
Selenium webdriver stop after open Chrome window with existing profile
Selenium webdriver stop after open Chrome window with existing profile.
After last Chrome update, i have problem with my code. Driver updated too.
driver = webdriver.Chrome(executable_path='C:\...
0
votes
1
answer
71
views
Get the position of a leaflet marker using Selenium
I am using Selenium to test the position of a leaflet marker, the problem I have is that the marker X,Y values come out different every time for the exact same point(Lat/Long)
var marker = driver....
1
vote
0
answers
92
views
Selenium C# WPF code causes errors in release version
I've developed a C# WPF program using Selenium which runs fine in debug mode and after compiling a release version, it works fine in the .../bin/Release folder. However, if I rename the file I get the ...
0
votes
0
answers
49
views
How to handle Stale Element Exception in selenium?
import java.time.LocalDate;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class AddEmployeeTest extends BaseTest {
@DataProvider(name = "...