Sha256: ecda17e6b28a9452c9532a988ff602f6ec8afecd5b43c95daee7f184ea669004
Contents?: true
Size: 551 Bytes
Versions: 14
Compression:
Stored size: 551 Bytes
Contents
module ::Appium module Core class Element # sets the testa appium driver instance for the current phone def self.set_driver(driver, udid) udid = "unknown" if udid.nil? @@drivers ||= {} @@drivers[udid] = driver end # @return [TestaAppiumDriver::Driver] testa appium driver instance for the current phone def get_driver udid = @bridge.capabilities.instance_variable_get(:@capabilities)["udid"] udid = "unknown" if udid.nil? @@drivers[udid] end end end end
Version data entries
14 entries across 14 versions & 1 rubygems