Sha256: 80f56a3cbc7e114f76ca64b9f0fa1346155cc5691f3f40761d56c90b5c9e798c
Contents?: true
Size: 479 Bytes
Versions: 3
Compression:
Stored size: 479 Bytes
Contents
require File.expand_path("../spec_helper", __FILE__) module Selenium::WebDriver::DriverExtensions describe HasBrowserConnection do compliant_on :browser => nil do it "can set the browser offline and online" do driver.navigate.to url_for("html5Page.html") driver.should be_online driver.online = false wait.until { not driver.online? } driver.online = true wait.until { driver.online? } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems