Sha256: 09d030f3b4ad87f2daaf62ee782b1e4f7602e2b12fffbdf52585b2d6821e5c95
Contents?: true
Size: 1.57 KB
Versions: 3
Compression:
Stored size: 1.57 KB
Contents
#selenium-connect [](https://codeclimate.com/github/arrgyle/selenium-connect) A stupid simple way to run your Selenium tests on your computer, against a Selenium Grid, or in the cloud (e.g. SauceLabs). ## Getting Started ```ruby require 'selenium-connect' SeleniumConnect.configure do |c| c.host = "localhost" #or "grid_ip_address" or "saucelabs" c.browser = "firefox" end @driver = SeleniumConnect.start @driver.get "http://www.google.com" SeleniumConnect.finish ``` ## Helpful bits ### Start If host is set to "localhost", it will download the latest selenium-standalone-server.jar (unless it already has) and run it. Or, you can specify your own jar (if you have one you prefer to use). If no additional parameters are set, it will be exected in the background, with logging disabled. This functionality is driven using the [Selenium Rake Server Task](http://selenium.googlecode.com/svn/trunk/docs/api/rb/Selenium/Rake/ServerTask.html). ### Finish Issues a quit command to the driver (and stops the local server if your host is set to "localhost"). ### Support - Firefox (standard, profile by path, profile by name, browser binary) - Internet Explorer - Chrome - SauceLabs ## Contributing This project conforms to the [neverstopbuilding/craftsmanship](https://github.com/neverstopbuilding/craftsmanship) guidelines. Specifically related to the branching model and versioning. Please see the guidelines for details. ### Install Dependencies bundle install ### Run the Tests bundle exec rspec
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
selenium-connect-1.9.3 | README.md |
selenium-connect-1.9.1 | README.md |
selenium-connect-1.9.0 | README.md |