Sha256: ec2733dc781fccd4b46e34d1d343f3629727aaf481ea532cfb8f08ccb4b24c7c

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

require 'selenium-webdriver'

module Rufus
  module Drivers
    class IOS_Device

      def self.for(config,url)
        @config = config
         Selenium::WebDriver.for(:remote, :desired_capabilities => capabilities, :url => url)

      end

      def self.capabilities
        {
            'browserName' => @config["browser"],
            'platform' => @config["platform"],
            'version' => @config["version"].to_s,
            'app' => @config["app"]
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rufus-0.3 lib/rufus/drivers/iOS_device.rb