Sha256: cb69c452c7c7196715a7c49583b397b56963a00fa783d2f1a66183ef39dde512
Contents?: true
Size: 607 Bytes
Versions: 5
Compression:
Stored size: 607 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. 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