Sha256: 7409184c8bd4cb5af0aad4a07c64dba17cc67acbfe4be6b6046c692ac0068fc5

Contents?: true

Size: 661 Bytes

Versions: 3

Compression:

Stored size: 661 Bytes

Contents

module Selenium
  module WebDriver
    module IPhone
      class Bridge < Remote::Bridge

        DEFAULT_URL = "http://localhost:3001/hub/"

        def initialize(opts = nil)
          if opts
            super
          else
            super(
              :url                  => DEFAULT_URL,
              :desired_capabilities => capabilities
            )
          end
        end

        def browser
          :iphone
        end

        def driver_extensions
          []
        end

        def capabilities
          @capabilities ||= Remote::Capabilities.iphone
        end

      end # Bridge
    end # IPhone
  end # WebDriver
end # Selenium

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
selenium-webdriver-0.1.2 lib/selenium/webdriver/iphone/bridge.rb
selenium-webdriver-0.1.1 lib/selenium/webdriver/iphone/bridge.rb
selenium-webdriver-0.1.0 lib/selenium/webdriver/iphone/bridge.rb