Questions tagged [selenium]
Selenium is an open source, cross platform framework for automatic testing of web applications.
44
questions
3
votes
1
answer
1k
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 ...
0
votes
0
answers
642
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 ...
0
votes
2
answers
50
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 ...
0
votes
0
answers
2k
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", "."]
# ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
406
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 ...
1
vote
2
answers
632
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 ...
0
votes
0
answers
30
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 ...
0
votes
1
answer
74
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 ...
5
votes
1
answer
7k
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 ...
0
votes
0
answers
2k
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 ...
0
votes
1
answer
934
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 ...
1
vote
0
answers
237
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 ...
4
votes
1
answer
9k
views
Windows server 2016 {Access Denied} A process has requested access to an object, but has not been granted those access rights
I'm running some selenium c# chrome driver test with the latest version of chrome driver and chrome.
On my desktop Windows 10 PC it works fine, however, in production Windows server 2016 I'm getting ...
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 ...
1
vote
1
answer
930
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 ...
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.
5
votes
5
answers
12k
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....
0
votes
1
answer
390
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 ...
2
votes
0
answers
570
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 ...
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 ...
1
vote
0
answers
318
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 ...
1
vote
0
answers
870
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 ...
-1
votes
1
answer
616
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 ...
1
vote
1
answer
826
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 ...
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 ...
2
votes
0
answers
549
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 ...
1
vote
1
answer
664
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 ...
2
votes
0
answers
998
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 ...
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 ...
2
votes
2
answers
4k
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
...
2
votes
1
answer
394
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 ...
1
vote
0
answers
623
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 ...
1
vote
0
answers
325
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 ...
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 ...
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 ...
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-...
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 ...
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 ...
1
vote
1
answer
820
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....
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 ...
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 ...
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 ...
0
votes
1
answer
335
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 ...