Skip to content

Instantly share code, notes, and snippets.

@joelneubert
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelneubert/516a860cf4f95db2b1de to your computer and use it in GitHub Desktop.
Save joelneubert/516a860cf4f95db2b1de to your computer and use it in GitHub Desktop.
caps = {
'browserName' => '',
'platform' => 'Mac',
'version' => '7.0',
'device' => 'ipad',
'app' => myapp,
'locationServicesAuthorized' => true,
'autoAcceptAlerts' => true
}
server_url = "http://0.0.0.0:4723/wd/hub"
@driver = Selenium::WebDriver.for(:remote, :desired_capabilities => caps, :url => server_url)
@accept_next_alert = true
@driver.manage.timeouts.implicit_wait = 10
@verification_errors = []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment