Sha256: a689266eec5b970bb7e4a7310f911a4fa3732cc725ee2dc9a86189e84a09f9b8
Contents?: true
Size: 755 Bytes
Versions: 5
Compression:
Stored size: 755 Bytes
Contents
module Symbiont module Platforms require 'watir-webdriver' # This module determines what execution platform Symbiont will use. # The decision is based on the browser that has been established for # the execution profile. # # @param [Object] browser the browser to establish the platform for # @returns [Object] a platform object to execute tests against def get_platform_for(browser) if browser.is_a?(Watir::Browser) return @platform = Symbiont::Platforms::WatirWebDriver::PlatformObject.new(@browser) else raise "Unable to create a platform object for #{browser}" end end end # module: Platforms end # module: Symbiont require_relative 'platform_watir'
Version data entries
5 entries across 5 versions & 1 rubygems