Selenium & Vagrant: Setting up Selenium grid and node, and headless Firefox in 2 steps

This is the Selenium guide to end all Selenium guides.

2 steps is all you need to fire up a potentially production-ready Selenium 2.42.1 grid and node for your test automation awesome sauce. The Vagrantfile in question will install and setup Firefox headless on a precise64 box. Yes, init.d script is included for both Xvfb, Selenium grid and node respectively. Good times!

The following steps are:

1. git clone this repo https://github.com/yveshwang/selenium-2step
2. Vagrant up selenium and point your test to the port forwarded default hub location.

Enjoy!

Advertisements

One thought on “Selenium & Vagrant: Setting up Selenium grid and node, and headless Firefox in 2 steps

  1. Pingback: Selenium & Vagrant: Headless Chrome in the same old 2 steps | something else

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s