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.

Selenium is a portable software testing framework for web browsers automation. The Selenium IDE provides a record/playback tool for authoring tests without learning a test scripting language. Selenium provides a test domain specific language (DSL) to write tests in a number of popular programming languages, including Java, C#, Ruby, Groovy, Python, PHP, and Perl. Test playback is possible in most modern web browsers. Selenium deploys on Windows, Linux, and Macintosh platforms.

When using this tag, also include other tags for the programming language you are using.

78 questions
6
votes
5 answers

Why Selenium IDE is not officially supported in Google Chrome

I wonder why Selenium IDE is not officially supported in Google Chrome even though Google is one of the active contributors to the Selenium project. Does anyone know why?
Saikat
  • 467
5
votes
2 answers

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 Capybara) requires webdriver. Webdriver only…
Casey
  • 151
4
votes
2 answers

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 login to gmail, this is what I get when I enter the…
MyWays
  • 257
3
votes
0 answers

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: DevToolsActivePort file doesn't exist) (The process started…
3
votes
3 answers

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.
3
votes
1 answer

What is the chrome command line argument in headless / no-sandbox-mode that picks the tmp directory?

I am running chromium headless with Selenium. When I run a bunch of sessions I end up with a bunch of tmp files in /tmp drwx------ 3 nick nick 4.0K Jul 28 05:00 .org.chromium.Chromium.OpPRkQ drwx------ 3 nick nick 4.0K Jul 29 00:00…
2
votes
0 answers

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 test run consists of 800 tests. The tests run…
2
votes
0 answers

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 crashes on startup. ======= starting test…
fijiaaron
  • 121
2
votes
1 answer

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?
krup123
  • 23
2
votes
0 answers

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 from the Steps execution window, shows the value…
2
votes
1 answer

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 updating to Windows 1903, this has stopped working.…
2
votes
1 answer

Why am I getting a Selenium error, “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 help would be appreciated: The following is the error message I got: Please protect ports used by ChromeDriver and related…
2
votes
0 answers

Selenium + ChromeDriver stuck for exactly 4 minutes

I'm trying to webscrap a web page with CloudFlare protection from remote server: #!/usr/bin/env python3 from xvfbwrapper import Xvfb from selenium import webdriver from selenium.webdriver.chrome.options import Options import time import…
2
votes
1 answer

error when install google chrome on ubuntu

When I tried to install google chrome on ubuntu, I get the following error: when I do google-chrome -v [3880:3880:1012/130454:ERROR:desktop_window_tree_host_x11.cc(904)] Not implemented reached in virtual void…
Kato
2
votes
1 answer

Newer Java version installed but not recognized

When starting Selenium I get this error: Starting Selenium Server failed. Check that you have Java 1.5 or newer installed by running java -version on the command prompt. Running java -version I get this the output java version…
1
2 3 4 5 6