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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Python for creating a web page based in-store menu. Selenium? [closed]

Apologies for my lack of experience. I come from a 3D/ animation background using Autodesk Maya among other software, so I have a tiiiiiiny bit of experience with mel and Python. I just need to know ...
user avatar
  • 1
0 votes
0 answers
7 views

Automate form fill, with email on certain result

I am aware of several methods for auto-filling a multi-page form in a browser, including Autohotkey and Selenium IDE, but I am stuck with regards the final step: I need to send a simple email if the ...
user avatar
0 votes
0 answers
5 views

How to stop looking for an element after a certain period using JavaScriptExecutor on an unlimited screen like Facebook? [migrated]

Suppose I want to look for my post on a facebook page by scrolling down. And I am looking my post based on my profile name. I use Javascriptexecutor to start scrolling down until it finds the post but ...
user avatar
0 votes
0 answers
134 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), ...
user avatar
0 votes
2 answers
195 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 ...
user avatar
0 votes
0 answers
12 views

Issues while automating browser using selenium for displaying differences in two text files

I have two text files and I want to see the differences on the website: https://text-compare.com/ Now this is my python code. //chk.py path = r"C:\Users\1kusp\OneDrive\Documents\CP\testing" ...
user avatar
  • 1
0 votes
0 answers
50 views

Java Selenium ChromiumDriver - detect properties from browser

I invoked URL https://antoinevastel.com/bots/ and received different results. A) on desktop Chrome: detailChrome {"properties":"unknown","connect":206,"...
user avatar
  • 11
0 votes
0 answers
24 views

Change max. idle time for (crypto) handshake in Chromium HTTP/3

Background: I'm trying to measure common metrics (e.g. firstContentfulPaint) using selenium with chromium over satellite links under different loss and delay parameters. Problem: When running with ...
user avatar
0 votes
0 answers
283 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 ...
user avatar
  • 101
0 votes
0 answers
172 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). ...
user avatar
  • 541
0 votes
0 answers
11 views

Selenium IDE - Can I have a custom field where the value is updated before every run to make it unique

I've just started to use Selenium IDE and all seems good but there's one issue I was hoping to get help with. The script itself simply registers a customer and creates an application which is fine. ...
user avatar
-1 votes
1 answer
222 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 ...
user avatar
  • 49
0 votes
0 answers
36 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 ...
user avatar
  • 183
0 votes
1 answer
401 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-...
user avatar
0 votes
0 answers
121 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 ...
user avatar
-2 votes
1 answer
151 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 ...
user avatar
  • 97
1 vote
3 answers
4k 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 ...
user avatar
  • 19
1 vote
0 answers
128 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 ...
user avatar
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 ...
user avatar
  • 227
3 votes
0 answers
112 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: ...
user avatar
0 votes
0 answers
433 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 ...
user avatar
0 votes
1 answer
197 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 ...
user avatar
  • 33
0 votes
1 answer
3k 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\...
user avatar
  • 1
1 vote
0 answers
97 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 ...
user avatar
0 votes
1 answer
5k views

[1567550645.996][SEVERE]: bind() failed: Cannot assign requested address (99)

H community, I am trying to set up the Selenium Grid on EC2 server, and below are the steps I took so far. 1.start the hub on port 4044 java -jar /ebst/wrangler/upla/bin/selenium-server-standalone-3....
user avatar
  • 1
0 votes
1 answer
924 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" ...
user avatar
0 votes
1 answer
26 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 ...
user avatar
  • 1
0 votes
1 answer
360 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 ...
user avatar
4 votes
2 answers
17k 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 ...
user avatar
  • 141
0 votes
1 answer
616 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. ...
user avatar
2 votes
1 answer
3k 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?
user avatar
  • 23
1 vote
0 answers
75 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 ...
user avatar
0 votes
0 answers
618 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 ...
user avatar
1 vote
0 answers
220 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 ...
user avatar
0 votes
1 answer
121 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 ...
user avatar
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
user avatar
  • 11
0 votes
0 answers
573 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': ...
user avatar
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 ...
user avatar
  • 201
0 votes
1 answer
841 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 ...
user avatar
0 votes
1 answer
359 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 ...
user avatar
  • 1
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.
user avatar
1 vote
0 answers
383 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 ...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
0 votes
1 answer
321 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 ...
user avatar
0 votes
1 answer
243 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)
user avatar
0 votes
1 answer
83 views

How do I limit simultaneous Selenium browsers being run by Jenkins?

I have a Jenkins project that runs more than a hundred Cucumber feature files. Each test scenario uses Selenium because I need to test the UI of my website. The problem is that Jenkins try to run them ...
user avatar
1 vote
1 answer
952 views

Selenium IDE - Can I have a custom field value?

With Selenium IDE, I can tell a field to input a certain value. However I need to test a form on a daily basis with at least one piece of unique information. This goes across probably 40 forms. In ...
user avatar
1 vote
1 answer
38 views

How to package browser drivers for use with selenium

I've written a script that I want to give to others, but it uses selenium, which requires the browser driver to be installed with a path address. So how can I "install" the browser driver with the ...
user avatar
1 vote
0 answers
504 views

How do I install selenium for python 3.7 instead of preinstalled 3.5 using pip3

I am trying to use selenium with python 3.7.3. By default python 3.5 was installed on my Linux machine. I had manually installed python 3.7 by the following method Downloaded and extracted the tar ...
user avatar
2 votes
1 answer
4k views

Unable to receive message from renderer

I just start learning Selenium, but it seems that my chromedriver version is incompatible with my current chrome version? Any helps will be appreciated The following is the error message I got: ...
user avatar