Tag Info

Hot answers tagged

3

i haven't tested it by myself, but this sounds promising: http://www.alittlemadness.com/2008/03/05/running-selenium-headless/ i will try this for myself. EDIT: finally i had time to test for myself. i tested it on suse, but should be the same for ubuntu, except perhaps package and path names. first install xvfb package, on suse it is called xorg-x11-Xvfb ...


3

Try this for automating headless server stuff. (Caveat, I wrote the post below) http://www.semicomplete.com/blog/geekery/headless-wrapper-for-ephemeral-xservers.html Basic summary is I made a script to run any command within a newly-created headless X server. This also lets you run lots of headless X servers at a time if you need to. So for starting ...


3

Use Xvfb. It gives you an X server that doesn't require connection to a physical display. (So, on CentOS, you'd do something like "yum install xorg-x11-server-Xvfb".) You can then start it up on display ":1" with the command "/path/on/which/installed/Xvfb :1 -screen 0 1024x768x24 &". This will create a screen with resolution 1027x768 and depth 24. ...


2

if this started recently (last saturday...?) you could be affected by the leap second bug try running as root: date; date `date +"%m%d%H%M%C%y.%S"`; date; and see if this fixes your load problem


2

First install xvfb which will allow you to run it with a "virtual screen". sudo yum -y install xorg-x11-server-Xvfb Then you should check out this helpful post which will help you get firefox installed on amazon EC2. This is because you can't just do sudo yum install firefox on EC2. So, basically you create a file (I used this gist) on the EC2 instance ...


2

Make sure that the remote machine has ssh X11 forwarding enabled: $ grep X11 /etc/ssh/sshd_config X11Forwarding yes X11DisplayOffset 10 $ Use ssh -X user@remote_machine to connect to remote machine. If on remote machine you are using a different user to start the X client, use xauth list to get the current credentials in the ssh user, then use xauth add ...


1

My understanding of Selenium Grid is that you will either need a way to run your tests in parallel or have multiple processes firing requests to the Remote Controls. If you're using JUnit, there's a post on StackOverflow that has a number of recommendations for parallelization. There's actually an example in the Selenium Grid demo as well. It uses TestNG's ...


1

The problem was the environment inside the daemon executing. The --env cleared up the enviroment variables. You can easily see this with daemon -O /tmp/export --env="FOO=BAR" -- bash -c export cat /tmp/export The solution is to start daemon with the "-i" switch to copy the path setting. Using this change, Firefox will be found. The working version of the ...



Only top voted, non community-wiki answers of a minimum length are eligible