Selenium + HTTPS + Firefox

These two links were invaluable:

Selenium and HTTPS:

Create a new Firefox profile (firefox.exe -profileManager). In this case the name of the new profile is selenium-https-profile.

java -jar selenium-server.jar -firefoxProfileTemplate

Dealing with self-signed SSL certificates when running Selenium server with Firefox:

Delete everything in the directory except for the cert_override.txt and cert8.db files.

Trying To Code
What I Learned Today

|

Comments (0)

Permalink

Xvfb + Selenium

Xvfb:

In the X Window System, Xvfb or X virtual framebuffer is an X11 server that performs all graphical operations in memory, not showing any screen output. From the point of view of the client, it acts exactly like any other server, serving requests and sending events and errors as appropriate. However, no output is shown. This virtual server does not require the computer it is running on to even have a screen or any input device.

Running Selenium on a Solaris server so that can run Cucumber tests via Hudson daily after each successful build. The problem was Selenium + Firefox had no display to output to.

The solution was to use xvfb and output to it.

Trying To Code
What I Learned Today

| |

Comments (0)

Permalink