Questions tagged [selenium]

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

45 questions
18
votes
1 answer

How can I run Firefox on CentOS with no display?

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 input and inspect the output. The setup was…
Eric
  • 1,087
  • 2
  • 12
  • 24
10
votes
2 answers

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 with Gnome or KDE to run those tests but I'm looking…
Thierry Lam
  • 6,041
  • 9
  • 26
  • 24
6
votes
1 answer

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 the old instance along its child processes, but…
Andreas Wagner
  • 133
  • 1
  • 7
5
votes
4 answers

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.30.0 Selenium.WebDriver version - 3.4.0 Code: …
krapstuke
  • 155
  • 1
  • 2
  • 7
4
votes
1 answer

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 this error when selenium tries to start a new…
Mr J
  • 141
  • 1
  • 2
  • 5
4
votes
1 answer

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 parameters? However, some of the users have a…
3
votes
5 answers

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 is, it creates a ssh connection to the Ubuntu…
nebenmir
  • 133
  • 1
  • 1
  • 3
3
votes
4 answers

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 INFO - OS: Windows 7 6.1 x86 22:02:07.625 INFO - v2.0…
moff
2
votes
1 answer

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
  • 139
  • 5
2
votes
0 answers

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 stuck at 14:45:31.646 INFO - Launching Firefox....…
Kapil Sharma
  • 155
  • 1
  • 1
  • 8
2
votes
2 answers

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 when run from web (apache www-data:www-data…
fab
  • 151
  • 1
  • 9
2
votes
0 answers

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 on my desktop. It is also pretty inconsistent.…
cat pants
  • 2,139
  • 10
  • 33
  • 44
2
votes
0 answers

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 headless cucumber tests were taking 2-3x longer.…
2
votes
1 answer

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 internet, but just to be written to disk (so that I can…
geoaxis
  • 451
  • 1
  • 6
  • 17
2
votes
2 answers

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.openqa.selenium.WebDriverException:…
mahesh more
  • 121
  • 1
  • 3
1
2 3