Sha256: bac020be7b8924cab09bf314f9ede0b61130078fe23be0113b16a0759a6dad65
Contents?: true
Size: 706 Bytes
Versions: 3
Compression:
Stored size: 706 Bytes
Contents
require File.expand_path(__FILE__ + '/../../spec_helper') require 'selenium/webdriver' describe "WebDriver-backed Selenium::Client" do let(:webdriver) { Selenium::WebDriver.for :remote } let(:selenium) { Selenium::Client::Driver.new :host => test_environment.server_host, :port => test_environment.server_port, :browser => "*webdriver", :url => test_environment.app_url } after { selenium.stop } it 'can wrap an existing Selenium::WebDriver::Driver instance' do selenium.start :driver => webdriver selenium.open '/' selenium.title.should == webdriver.title end end
Version data entries
3 entries across 3 versions & 1 rubygems