Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Grid Support

semperos edited this page Nov 1, 2011 · 8 revisions

In addition to the core Selenium-WebDriver API, the Selenium project offers the Selenium Grid, which facilitates distributed execution of tests across multiple machines.

If you are not familiar with setting up a Grid hub and nodes, I suggest you first read the appropriate wiki page on the Selenium-WebDriver Google site. In short, you (1) download the appropriate standalone jar, use it to (2) start up a hub and (3) start up child nodes, and then (4) run your tests.

In order to make your Driver instances use the Grid for execution instead of your local resources, you need to leverage one of the two functions in the clj-webdriver.grid namespace:

  • new-driver-on-grid - Start a new WebDriver on the Grid (defaults to blank page)
  • start-on-grid - Start a new WebDriver on the Grid and go to a URL

NOTE: These functions have not yet been updated with the latest caching functionality and Driver record architecture. These updates will be performed prior to a 0.4.0 release.

These functions are the Grid-based counterparts to the new-driver and start functions in the core namespace.

Clone this wiki locally