Skip to main content

Questions tagged [selenium]

Selenium is an open source, cross platform framework for automatic testing of web applications.

0 votes
0 answers
217 views

How can I make headless Chrome (Selenium) inside a Debian-Slim Docker container trust my mitmproxy root CA?

What I’m trying to do: I run mitmproxy in up-stream mode so that Selenium traffic goes through a residential proxy that requires basic-auth. Locally (macOS, Chrome 125, Selenium 4.20.0) I just add the ...
johan855's user avatar
  • 101
3 votes
1 answer
2k views

Could not start a new session. Response code 500. Message: Failed to read marionette port

I am trying to use Selenium with Java and Firefox but I am getting the below issue. org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Failed to ...
Akshay Wakchaure's user avatar
0 votes
0 answers
1k views

How to install google-chrome as non-root user on a remote server?

In order to use google-chrome for selenium-testing purposes (to be run headless of course) I want to install this on a remote server where I do not have root access. This server does not even have ...
Alex's user avatar
  • 113
0 votes
2 answers
103 views

Purpose of Selenium in load testing

What is the role of Selenium in load testing a webpage if it cannot generate 200 or 300 requests? I understand, the client side automation can be done. But how do I test my web application for a real ...
Vinayak's user avatar
  • 73
0 votes
0 answers
3k views

How to pass the chromedriver path to nodejs selenium-webdriver in Docker

Here is my docker file. FROM node:17.2.0 USER root WORKDIR /LT RUN apt-get update RUN apt-get install git --yes COPY /LT . COPY /LT/test . COPY ["/LT/package.json", "."] # ...
Jay's user avatar
  • 103
0 votes
2 answers
3k views

docker - nodejs - selenium-webdriver - Error: Server terminated early with status 127

I am a novice in a docker container. I am trying to create a docker file that has npm, node js, chromedriver and selenium-chromedriver and run my javascript file. In my local , I run the script in the ...
Jay's user avatar
  • 103
0 votes
0 answers
456 views

Selenium Grid Helm Chart: Can I Run Multiple Versions Of Chrome Concurrently?

I am hosting a Selenium Grid instance in a Kubernetes cluster that was installed using the standard Helm chart. Things are working well but I don't see any value that can be used to install multiple ...
Tom Purl's user avatar
  • 569
1 vote
2 answers
1k views

Redirections, but only on a certain web browser

I have found some cheap SEO pages, whose only purpose is to promote some other sites by feeder links. On Chrome and Safari and Firefox, they show the SEO web page, but on Kiwi Web Browser on my ...
mekineer's user avatar
0 votes
0 answers
43 views

Do I need a ssl certificate for testing with selenium via vps server?

i am trying to Set up a vps Server with which i want to test Websites in the open Web by opening different chrome windows with the help of selenium. Now i wonder if i need a ssl certificate for doing ...
neb737's user avatar
  • 1
0 votes
1 answer
96 views

Google Compute Selenium intermittent connection issue

I'm trying out Google Compute. I have an issue I never saw on AWS. I'm using Ubuntu 16.04 / Codeception / Selenium / Chromedriver / Chrome to run a simple acceptance test. The thing is, it fails ...
John Dee's user avatar
  • 101
6 votes
2 answers
9k views

How to pass Question Mark (?) in password for HTTP Basic Authentication in URL parameters?

I am automating a website which requires HTTP Basic Authentication. The suggestions given in this link work like a charm in most cases: Can you pass user/pass for HTTP Basic Authentication in URL ...
Sandeep Koparde's user avatar
0 votes
0 answers
3k views

Firefox and Chrome headless mode not working on VPS (Ubuntu 18.04 LTS) with Python/Selenium

I am trying to get Chrome running in headless mode with Python, but for some reason I only get a blank page back no matter what website I try to read. Google Chrome: v77 Chromedriver: latest version ...
sleepi's user avatar
  • 1
0 votes
1 answer
1k views

Jenkins builds not marked unstable/failed if PHPUnit fails

So, the title pretty much gives it away. We're using Jenkins 2 with PHPUnit 6.5.12 and a couple of days before, everything worked fine. Now, every build we do and has failures (or worse, errors) in ...
Philip Weisel's user avatar
1 vote
0 answers
249 views

Selenium WebDriverException: Message: address not available, when running Django test on jenkins server

I have running docker an AWS EC2 instance. Using docker-compose, I have jenkins running in one container. I have a jenkins pipeline which checks out my repo ( which is a Djano application, with a ...
ched's user avatar
  • 11
5 votes
1 answer
10k views

Chrome on Windows Server 2016 access denied in selenium C# Chrome driver test

I'm running selenium C# Chrome driver test with the latest version of Chrome driver and Chrome. On Windows 10 it works, however, on Windows Server 2016 the following error occurs when selenium starts ...
Mr J's user avatar
  • 161
1 vote
1 answer
5k views

Can't connect to SQL through Virtual Machine when running Selenium Tests

To preface the back story one day i just booted my VM and i couldn't run the test. We had it set up to run prior and everything was fine. The setup we have currently is that i am running my local ...
Matthew Land's user avatar
1 vote
1 answer
993 views

Can't get HTML using PhantomJS and selenium driver from a debian server

I am developping a python program that uses selenium (webdriver python bindings) and PhantomJS (headless WebKit scriptable with a JavaScript API) to load and interact with websites. When I use this ...
NanoPish's user avatar
2 votes
1 answer
1k views

How to install GTK3 on Amazon Linux?

I cannot install Firefox on my amazon linux machine. All articles I can google tells about GTK2 but how can I Install GTK3? Thank you.
Volodymyr's user avatar
  • 139
5 votes
5 answers
13k views

Selenium ChromeDriver makes blank screenshots

In jenkins taken screenshots are blank or invalid like in example here: Maybe someone knows what kind problem could be with it? Locally everything works fine WebDriver.ChromeDriver.win32 version - 2....
krapstuke's user avatar
  • 155
0 votes
1 answer
425 views

Setting up Selenium and PHPUnit on Ubuntu16

I'm trying to setup Selenium to run with a PHP binding. I keep getting this message: PHP Fatal error: Uncaught Facebook\WebDriver\Exception\UnknownServerException: The path to the driver ...
Jim Maguire's user avatar
2 votes
0 answers
591 views

Issue with Headless selenium on CentOS 7 Minimal

Required: I'm trying to run headless selenium (using PHPUnit) on fresh CentOS 7 minimal. Problem: It seems I installed everything correctly but firefox is not launching and my selenium web driver ...
Kapil Sharma's user avatar
2 votes
2 answers
2k views

unable to run generated python (selenium) script from PHP

I have an Ubuntu machine for headless selenium tests. I generate a python script in /var/www/tmp/random123name.py via PHP and execute them. The script works when run from command line user, fails ...
fab's user avatar
  • 151
1 vote
0 answers
330 views

How do I view an X display on a remote host from OSX

I'm running an X server in a under xvfb in an Ubuntu 14.04 Virtualbox VM. The X display is used to run Firefox and Chrome for some Selenium tests. I want to be able to view the contents of this ...
Cera's user avatar
  • 553
1 vote
0 answers
959 views

How to watch firefox/chrome running headlessly [under xvfb] on remote headless machine?

I have my selenium tests running on a jenkins server installed on a ubuntu headless machine [remote on AWS] using xvfb buffer, there are times when the tests gives false failures may be because of ...
Pooja's user avatar
  • 11
-1 votes
1 answer
669 views

Error running selenium grid chrome webdriver on amazon ec2

I set up selenium grid and node on amazon ec2.I am able to see grid and node configuration in the browser i downloaded latest chromewebdriver - 2.16 and put under usr/bin on my amazon ec2 linux ...
pk1223's user avatar
  • 1
1 vote
1 answer
852 views

Jenkins hangs when trying to start Selenium Server

I am trying to run a test suite using Jenkins and to start the Selenium Server. In the job configuration, as a build step I have included: When the command is executed, Jenkins hangs at a certain ...
Valentin Despa's user avatar
6 votes
1 answer
8k views

runit does not kill process on sv stop or sv reload

i am running a headless selenium process along a jenkins server on an AMI linux box, all managed by runit. the problem is that issuing "sv stop selenium" or "sv reload selenium" do not term or kill ...
Andreas Wagner's user avatar
2 votes
0 answers
588 views

Selenium in virtual machine is slower than desktop

I've set up a kvm virtual machine, CentOS 6 on both guest and host. I'm using selenium on the guest in order to test a web site. However, it loads significantly slower than trying to hit the web site ...
cat pants's user avatar
  • 2,363
1 vote
1 answer
673 views

Firefox instance started by selenium occasionally becomes unresponsive

I'm running a web application under Tomcat 7, Ubuntu 14.04 that starts an instance of Firefox (currently version 29) using the Java Selenium driver to take screenshots of simple locally defined web ...
Stephen Ostermiller's user avatar
2 votes
0 answers
1k views

Slower VM Performance for Headless Browser Tests on Xeon

I created a virtual machine on my desktop to run our continuous integration process. After I was happy with it, I moved the VM (keeping the same configuration) onto our server where I found that the ...
SciencePiggy's user avatar
2 votes
1 answer
2k views

Test/Dummy SMTP server for Windows

I would like to install a Test/Dummy SMTP server on a Windows 2008 server (virtual box). I just want to test my web application on the machine it self so I don't need the mails to go out on the ...
geoaxis's user avatar
  • 561
2 votes
2 answers
5k views

Exception while running Selenium on AWS EC2 instance

I am facing this exception when I run a Selenium test case using the Firefox driver on the AWS EC2 instance which is the headless server. I installed Firefox and all the necessary changes for it org....
mahesh more's user avatar
2 votes
1 answer
413 views

Selenium server causes crazy load on box - how to prevent?

I'm running this linux: Linux host.themepark.com 2.6.32-220.4.1.el6.x86_64 #1 SMP Tue Jan 24 02:13:44 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux And I run the Selenium stand-alone server on my box ...
Eric's user avatar
  • 1,167
1 vote
0 answers
638 views

TeamCity sends inadequate responses after Selenium tests

I have a TeamCity 7.0.2 at CentOS 6.2 server without X Server. I've installed x11-fonts*, xvfb, firefox, xauth, extracted env. variable DISPLAY=localhost:1, and started xvfb. After that I could start ...
Dmitriy Sukharev's user avatar
1 vote
0 answers
354 views

Problems registering Selenium nodes on Hyper-V

Using Selenium Grid 2. Hub is running on the Hyper-V host and is listening to port 4444. I've confirmed this by browsing to it from a different PC, and by using netstat -a -t -o. However, my guest ...
Roger Lipscombe's user avatar
2 votes
3 answers
3k views

Running Selenium RC Headless via init script: Can not start firefox

I am trying to start selenium and the headless Xvfb X server using a init script and the daemon tool. But when I start my environment using this method, Firefox fails to launch. It looks like it can ...
Alex's user avatar
  • 846
18 votes
1 answer
46k views

How can I run Firefox on CentOS with no display? [closed]

I'm trying to run Firefox GUI browser on headless CentOS server in order to perform some web testing. I don't need to see the graphical output, because i use Selenium server API to control browser's ...
Eric's user avatar
  • 1,167
1 vote
1 answer
1k views

(EE) config/hal: NewInputDeviceRequest failed (2) while trying to run Xvfb on centos

I'm trying to set up a Selenium tests on a CI server (Jenkins). It runs on Centos 5 and has no monitor. For Selenium tests I need a way to run Firefox so I've had Xvfb installed. I'm using selenium-...
palto's user avatar
  • 209
3 votes
5 answers
19k views

open terminal via ssh run firefox -> display not found

I want to run selenium tests on a Hudson slave. The slave (i.e. the machine) that will execute the selenium is a Ubuntu 10.04. Thus it has Gnome. Selenium needs a firefox to run. What Hudson does now ...
nebenmir's user avatar
  • 133
2 votes
1 answer
2k views

connect to xvfb remote to fix firefox headless crash?

I have firefox running in xvfb (for nagios monitoring with selenium) but firefox crashes on me since today in ps: /usr/lib/firefox-3.6.17/crashreporter /tmp/customProfileDira27173dd39e4467.... how ...
hoberion's user avatar
  • 231
1 vote
1 answer
832 views

Init Selenium RC on headless server

as described in [1] running Selenium RC on a headless Linux is pretty easy to achieve. Essentially this requires these commands: $ Xvfb :99 -ac & $ export DISPLAY=:99 $ java -jar selenium-server....
pagid's user avatar
  • 127
2 votes
1 answer
2k views

How Can I Configure Selenium grid to test website in parallel?

I want to use selenium grid for my web page testing. I have successfully installed the demo of selenium grid on my PC and it is running fine. I have followed this link to install and run the selenium ...
Prakash Panjwani's user avatar
3 votes
4 answers
14k views

Selenium server won't start

I'm getting the following error when trying to start selenium: C:\Temp\selenium-server-1.0.3>java -jar selenium-server.jar 22:02:07.615 INFO - Java: Sun Microsystems Inc. 16.0-b13 22:02:07.617 ...
user avatar
10 votes
2 answers
20k views

How can I run Selenium tests on an Ubuntu server?

I currently have a test machine running Ubuntu server 9.10 with no GUI. I want to run my Selenium RC test suites which open Firefox and perform a series of operation. I could bloat my test server ...
Thierry Lam's user avatar
  • 6,441
0 votes
1 answer
351 views

How much resources to allocate for a VM running a selenium remote control

Not sure if this belongs here or on stackoverflow... When I run my selenium tests, the cpu usage on the (windows) VM running the selenium RC goes up to 100% cpu usage for about a third of the time. I ...
olamundo's user avatar
  • 129