Questions tagged [selenium]
For questions about the popular Selenium open-source tool for automating web browsers, but it should not be used for questions about programming.
80 questions
0 votes
1 answer
369 views
Running python selenium script from Powershell
BLUF:Help me figure out how to run a selenium python script from PowerShell. Forgive the wordy post, adding some back story...Ok, so my at my job I have been tasked with automating the startup and ...
4 votes
0 answers
143 views
Python selenium: Chromedriver fails when script launched from systemd service. Succeeds in interactive shell
I've built a very simple web-bot that opens a page, navigates around and clicks a few buttons. I'm using a VPS where I've scheduled it to run via a systemd service and timer. Running this service, i.e....
0 votes
0 answers
53 views
How to install Chrome into a place outside of Applications folder on MacBook?
I'd like to save a Chrome version outside of /Applications folder so that its version will not be upgraded by the automated OS patching. This is for Selenium test. I wanted to fix the Chrome version (...
0 votes
0 answers
84 views
Pulse Audio - Docker Fargate Container (XVFB FFEMPEG Selenium)
i'm having some issues about pulse audio, in my local enviroment windows using docker image i can deploy a application that can open a browser using selenium (this works fine) and capture the audio ...
0 votes
1 answer
341 views
Opening Microsoft Edge in Elevated mode (use case: open via Selenium)
I am trying to open Ms Edge in Elevated Mode, but I am unable to do so. (Windows 11) I have tried to open it manually too, but the Elevated option is always set to 'No' I have tried using the below ...
2 votes
0 answers
66 views
Selenium tests on Dell precision 5550: Certain thermal settings trigger "chrome not reachable" error
For our web based applications, we have created automated end to end tests. Those run in parallel, so we have a usage of nearly constantly 100 % on all CPU cores over more than 14 minutes. On complete ...
0 votes
0 answers
854 views
Best way to compare 2 binarys in windows
So i have 2 chromedrivers the first one is the original from the official repository https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.75/win32/chromedriver-win32.zip and the ...
1 vote
0 answers
222 views
How to use Firefox Containers with Python (instead of Firefox Profiles)
I have a python script for an automation tool using selenium that requires using multiple accounts (tens & hundreds) using Firefox. Thing is, I can't login-logout the accounts, so to use multiple ...
0 votes
0 answers
534 views
Table loading data with each scroll
does someone know a website that has a big table (a few columns and many rows) that loads each time we do scroll down? I'd like to extract some data of a big table with selenium or JavaScript with &...
1 vote
1 answer
230 views
Using Selenium IDE with replaceALL javescript to check button names
I am working with a website that has a button whose name will change depending on the area we are looking at. eg Page for Cats will have a button called (Search Cats) Page for Dogs will have a button ...
-1 votes
1 answer
949 views
NoSuchElementException while Scraping Data from Discogs URL Using Selenium [closed]
I try to extract some data from a Discogs URL using Selenium but I'm afraid I have wrong selection of correct tag from Selenium I start from THIS url And I try to get in console this output Artista 1: ...
2 votes
0 answers
900 views
Chrome 114 segfault crash on Amazon Linux 2
I'm using AWS EC2 instances with Amazon Linux 2 (Karoo) to run test automation with Selenium WebDriver using headless Chrome. When upgrading to Chrome 114 (stable), ChromeDriver reports that Chrome ...
1 vote
1 answer
12k views
Find the location driver chromium browser is installed in Windows
I am using windows 10. In Google Colab, I executed the following commands: !pip install selenium !apt-get update !apt-get install -y chromium-browser !apt install chromium-chromedriver from selenium ...
1 vote
0 answers
159 views
Start selenium node with an specific profile (Firefox)
When I start a standalone selenium test, I can specify the profile path to be used, something like FirefoxProfile(File("/home/selenium/firefox/1234.MyProfile")). However when I use a grid, I ...
1 vote
1 answer
142 views
Selenium breaks Japanese input in Firefox
I am using Selenium + Python to launch Firefox with an existing profile, not a temporary profile as by default. I have noticed that for any profile that I have used with Selenium, Japanese input is ...
1 vote
1 answer
754 views
Error chrome webdriver with selenium macOS
I want to use selenium on Macos M2. I ran this code : from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.chrome.service import Service from ...
1 vote
1 answer
3k views
"Failed to read marionette port" when Running Selenium + geckodriver + firefox as a non-root user in a Docker container
I'm running selenium tests inside a docker container, with Firefox and Geckodriver. When running that container as root, everything works fine. When running the container as non-root user (USER 1000), ...
0 votes
2 answers
1k views
Web scraping with python + selenium + multiprocessing in a docker container becomes slower over time
I have built a web crawling solution with python, selenium and multiprocessing which is deployed in a docker container in an EC2 instance (m4.2xlarge type). Whenever I run it with a large input, it ...
1 vote
1 answer
11k views
How to make Chrome auto select certificate for URLs on Linux?
When I run my auto tests on Selenium I receive certificate selection pop up. As I managed to find out this issue can be resolved on windows by creating a registry key. Unfortunately that answer did ...
0 votes
0 answers
1k views
Firewall blocking Selenium but not browser
I'm trying to download a webpage using Selenium/Chrome driver. However, my firewall is blocking it (it's definitely the firewall because before it was implemented, I was able to download the webpage). ...
-1 votes
1 answer
2k views
Task Scheduler does not launch chrome when Run whether user is logged on or not is selected
I have Python script for web-scraping. I am running it using papermill and then I created a batch file that I use on task scheduler to run. This workflow was running fine until my virtual machine got ...
0 votes
0 answers
308 views
HTTP requests from Linux server CLI to a website with dynamic content that requires Webdriver (JS emulation)?
Are there any simple solutions to making GET or POST requests from a CLI on a linux server to dynamically generated websites that require JavaScript to run in order to return HTML? I know that ...
0 votes
1 answer
2k views
How do you disable the "sharing this tab" message in Chrome
I'm using selenium to record chrome screen. And I also want to share this screen throw webrtc. When I start share a tab screen. Chrome will show this message : https://storage.googleapis.com/support-...
0 votes
0 answers
255 views
DPC WatchDog Violation after Selenium is ran with python
I have recently decided to move my web automation scripts from Google Colab where they worked fine, to my own PC. After getting the correct webdriver(for chrome, version 89), I tried launching a ...
-2 votes
1 answer
418 views
Cannot retrieve a value from a web page using Selenium in Python3 [closed]
iam just trying to login to a webpage using selenium to post credentials to it and the use XPath to get the the profit value. My code is: #!/usr/bin/python3 # coding=utf-8 from selenium import ...
1 vote
3 answers
10k views
How to setup user and password for proxy server in Chrome/Chromium in headless mode via argument?
I'm using Selenium to automate some stuff, i need to use proxy but my proxy use Basic access authentication so i need to put user and password, i already using: --proxy-server=http://127.0.0.1:8001 ...
1 vote
0 answers
322 views
Is there any way to ignore ALL certificate-related issues in Firefox? [closed]
I know there is a similar question, but my issue is a bit different. I am trying to implement what is basically a MITM "attack". Using quotation marks, because it's not an attack, rather, I am ...
4 votes
2 answers
7k views
I cant login to Gmail with Selenium anymore
I freshly installed Selenium and ran it with some python code, using Chrome browser (Chromium), on Ubuntu. Chromium 79.0.3945.79 Built on Ubuntu , running on Ubuntu 18.04 As you can see I cannot ...
3 votes
0 answers
214 views
Running tests with Selenium and Chrome Driver
I'm trying to create a new session on chrome driver, however it appers: Unable to create new session. UnknownError: unknown error: Chrome failed to start: exited abnormally (unknown error: ...
0 votes
0 answers
632 views
How can I force Selenium tests running on a jenkins slave-node to run in the foreground?
I have a CentOS server running a Jenkins server that has a connection to slave-node running windows server 2016. the Jenkins server has a job that is configured to run a series of Selenium tests on ...
0 votes
1 answer
287 views
Conversion javascript code from storeEval to executeScript_Sandbox (Selenium Ide Kantu Ui.Vision)
I need a conversion of two javascript code to obtain date and time in prefered format from storeEval To executeScript_Sandbox to use in Selenium Ide Kantu Ui.Vision From some update storeEval is ...
0 votes
1 answer
5k views
Chrome Driver not functioning preventing use of Selenium
I am trying to run a script with selenium using chromedriver as the driver. I receive the following error information: Traceback (most recent call last): File "C:\Users\samde\AppData\Local\...
1 vote
0 answers
231 views
How to run selenium on a Raspberry Pi?
I've been looking everywhere but I can't figure out how to run selenium on a raspberry pi. I've tried to install iceweasel but there is not package found when I try to install. Tried to run selenium ...
0 votes
1 answer
8k views
Getting this Selenium Server error: [1567550645.996][SEVERE]: bind() failed: Cannot assign requested address (99)
I am trying to set up the Selenium Grid on EC2 server, and below are the steps I took so far. Start the hub on port 4044 java -jar /ebst/wrangler/upla/bin/selenium-server-standalone-3.141.59.jar -...
0 votes
1 answer
1k views
After updating to chromedriver 76 I'm getting the exception "disconnected: received Inspector.detached event" in selenium
OS: Windows 7 Chrome Version: 76.0.3809.132 (Official Build) (64-bit) I've updated chromedrive to support chrome version 76. Later on i'm getting "disconnected: received Inspector.detached event" ...
0 votes
1 answer
121 views
Restrict IE from asking save dialogue pop up and it should save automatically in selenium c#
Have added image for referenceAm automating a functionality where on button click the IE download the file with a dialogue box pop with save /open and cancel instead i want to download the file ...
0 votes
1 answer
522 views
Appium will not launch from Eclipse on real iOS device
I am having problems running from an eclipse project on Appium in iOS. iOS has been a huge headache and has been giving me problems since I started setting up on a new Mac. For weeks, I couldn't even ...
5 votes
2 answers
22k views
Running Selenium on WSL using Chrome
I want to use Capybara to run some automated tests with Chrome, how do I choose to run the google-chrome-dev instead of the default Chrome? Only Chrome 78 (unstable) will run, however, Selenium (for ...
0 votes
1 answer
1k views
Selenium - Chrome browser just flashing
ChromeDriver: chromedriver_win32 (Version 76.0.3809.100) TeamCity: Windows Server 2016 Standard / 64-bit OS I have an automated regression suite that I used to run fine in all browsers in TeamCity. ...
2 votes
1 answer
5k views
Is it possible to install and run Google Chrome without root access?
Need to install Google Chrome on a Linux server without having root access. Chrome is needed in order to run Selenium webdirver tests with google chrome. Would this be possible?
2 votes
0 answers
144 views
Cucumber tests Execution time is always 0ms after IntelliJ IDEA update
I have recently updated IntelliJ IDEA to 2019.1.3 (Community Edition) and execution time for all Cucumber tests appears as 0ms, although the total time execution counter, which is shown separately ...
0 votes
0 answers
784 views
SendKey not work for a Numeric on Chrome (Java)
I'm in windows 10 64bit with a Chrome Version 75.0.3770.142 and the latest Chrome Driver 75. I have a sendKey issue using Selenium on Java. I have changed my computer recently and I have a regression ...
1 vote
0 answers
461 views
Selenium grid import root ca certificate
I use selenium grid/zalenium. I need to import root ca certificate into the chrome inside grid, how can I import it from robot framework desired capabilities? I can't just ignore certificate, I need ...
0 votes
1 answer
410 views
WebElement is not clickable
I am automating the software by using selenium and there is a web element which is located inside the frame and needs to be clicked. I tried the following ways. by using expectedCondtion class. by ...
1 vote
0 answers
1k views
ValueError: source code string cannot contain null bytes
ValueError: source code string cannot contain null bytes while importing webdriver
0 votes
0 answers
1k views
"KeyNotFoundError" in VBA Selenium
I'm learning about how to use Selenium with VBA to automate some Web work. I have a problem with bot.FindElementById("go").Click. The problem is that I get this error: Runtime error '0': ...
2 votes
1 answer
2k views
Chromedriver fails inside WSL after updating Windows to 1903
I run Chromedriver as a Windows executable from inside WSL (Windows subsystem for Linux) to run automated tests. The reason for this is that Chrome itself is installed in Windows. However after ...
0 votes
1 answer
1k views
Get locator value using java webdriver selenium
I am trying to get the following selector value: <span title="Error - Unresolved" class> my intention is to get the title value in this case --> "Error - Unresolved" Is there a clean, elegant ...
0 votes
1 answer
525 views
Python bindings for Selenium
I cannot install Selenium. I already have Python 3 and chromedriver. I am on a Windows 10 Desktop. This is what cmd tells me: C:\Users\dani>pip install selenium 'pip' is not recognized as an ...
3 votes
3 answers
11k views
TestNG not compatible with Eclipse 2019-03
While trying to install TesgNG in Eclipse 2019-03 I got TestNG message as not compatible with Eclipse 2019-03.