#185 awaiting-patch
Niall Mullally

Specify optional selenium server startup arguments

Reported by Niall Mullally | March 3rd, 2009 @ 05:31 PM

Small patch to allow specifying an array of extra arguments to pass the Selenium remote control when starting up.

This can come in handy for things like specifying a particular Firefox profile to load.

Example:

Webrat.configure do |config| config.selenium_additional_startup_args = ["-firefoxProfileTemplate /path/to/firefox/profile"] end

I've already used this in one project for loading a Firefox profile that has already accepted my self-signed SSL certificate.

Without this profile, Selenium was loading a new Firefox profile each time the server ran and the cert exception dialog box would pop up upon the first visit to a HTTPS URL, thus breaking the test(s).

Anyway, I hope this is of use. It's my first ever patch in the open source community so I hope it's up to snuff :-)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Tags

Pages