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.
76
questions
0
votes
0
answers
37
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 ...
0
votes
0
answers
31
views
NSSM for Selenium Server (Paused)
My selenium grid server is working very well when im running it on cmd and then java -jar selenium-server-.jar standalone and I can also run my test side files from my monitoring. But when I close the ...
1
vote
0
answers
28
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
71
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
94
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
303
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
565
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
3k
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 ...
0
votes
0
answers
153
views
finding chromedriver, glibc version compatibility
I'm trying to set up a webscraper in an amazon-linux terminal and I'm having issues with chromedriver glibc compatibility.
I'm currently using chrome and chromedriver version ~108. So I decided to try ...
1
vote
0
answers
67
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
61
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 ...
0
votes
1
answer
358
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
2k
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 ...
0
votes
1
answer
3k
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
758
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
1k
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
137
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
1k
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
207
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
275
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
7k
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
243
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
6k
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
169
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
530
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
252
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
4k
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
176
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
7k
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
47
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
464
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 ...
4
votes
2
answers
20k
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
940
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
4k
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?
1
vote
0
answers
125
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
677
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
333
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
256
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
913
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
1k
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
449
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
10k
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.
1
vote
0
answers
451
views
Bamboo SSH Task to start Selenium Grid
I am using Atlassian Bamboo version 6.5.0 (build 60509 - 20 Apr 18). On a remote computer I have Selenium grid running (both hub and node).
My current Bamboo job sends the tests to the remote server ...
0
votes
1
answer
4k
views
IntelliBot @SeleniumLibrary Patched plugin does not work on PyCharm (mac)
I have installed PyCharm 2019.1.2 (Community Edition) on my mac and then I installed IntelliBot @SeleniumLibrary Patched plugin. The plug in does not work at all. The robot files are not recognized, I ...
0
votes
1
answer
400
views
Unable to install TestNG in Neon.3 Release (4.6.3)
I had tried to install TestNG manually and from the Market place, and I am able to see it installed under installation details, but when going to select New > Other > Select wizard and filtered by ...
0
votes
1
answer
335
views
Google chrome is not launching on behat selenium
Whenever I run the selenium test, google chrome is not opening
and i'm having this error Element matching css "#pixelHeader > nav" not found. (Behat\Mink\Exception\ElementNotFoundException)