Sha256: d9a740977714edfc8ecbaf2bc39cfc6317409e7c2ed6f608cb57a3f31fe57ab6

Contents?: true

Size: 543 Bytes

Versions: 4

Compression:

Stored size: 543 Bytes

Contents

#!/usr/bin/env ruby
require "rubygems"
require File.expand_path(File.dirname(__FILE__) + '/../lib/testingbot/config.rb')
require File.expand_path(File.dirname(__FILE__) + '/../lib/testingbot/selenium.rb')

TestingBot::config do |config|
	config[:desired_capabilities] = Selenium::WebDriver::Remote::Capabilities.iphone
#config[:desired_capabilities] = { "platform" => "ANDROID", "browserName" => "galaxytab" }
end

driver = TestingBot::SeleniumWebdriver.new

driver.navigate.to "http://www.google.com"
puts driver.title
#sleep 140
driver.quit

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
testingbot-0.1.4 examples/android.rb
testingbot-0.1.3 examples/android.rb
testingbot-0.1.2 examples/android.rb
testingbot-0.1.1 examples/android.rb