Skip to content

Vagrant configuration based on ubuntu/trusty64, ready to be used with Selenium.

License

Notifications You must be signed in to change notification settings

Anomen/vagrant-selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-selenium

Vagrant configuration base on ubuntu/trusty64, ready to be used with Selenium.

Introduction

Selenium allows you to automate tests in Web Browsers. To do so, you need to have selenium webdriver installed for all the browsers that you want to run your test into.

Installation

  1. Install Vagrant
  2. Clone this git repository
  3. Run the command vagrant up

This vagrant works for Virtualbox, on a 64 bits machine.

Browser support

  • Firefox (latest version)
  • Google Chrome (latest version)

The script also installs the latest version of selenium server, and google chrome webdriver.

Why a VM for Selenium?

Installing selenium server and the webdrivers are easy on a machine. However, everytime that you want to run your tests, it opens the browser on top of the other windows, preventing you from doing something else. Unless you use phantomjs, it is not possible to run Chrome or Firefox hidden, without disturbing you on your work.

Thanks to this VM, you only need to start the VM, and all your tests will be run into the VM. You can continue developping in the meanwhile!

How does it work?

When the VM starts, it automatically runs selenium server, along with the google-chrome webdriver. You need to wait a few minutes before running your tests.

On your host machine, you can send the tests on this address: localhost:4444, just as if you installed selenium on your host machine.

How to access the host from the guest machine?

An alias already exists for your convenience: http://host/ will target your host machine.

About

Vagrant configuration based on ubuntu/trusty64, ready to be used with Selenium.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages