Sha256: 9884f660642076ae9b54652990c2f6dd7e8e8bcece1978654368ee89744cb101
Contents?: true
Size: 423 Bytes
Versions: 3
Compression:
Stored size: 423 Bytes
Contents
module RDee module DesiredCapabilities def capabilities(platform, version, host, existing_capabilities) capabilities = Selenium::WebDriver::Remote::Capabilities.send platform capabilities.version = version unless version.nil? capabilities.platform = host unless host.nil? capabilities = existing_capabilities.merge(capabilities) if existing_capabilities capabilities end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
RDee-0.6 | lib/rdee/desired_capabilities.rb |
RDee-0.5 | lib/rdee/desired_capabilities.rb |
RDee-0.4 | lib/rdee/desired_capabilities.rb |