Module: RegressyCommon::Capabilities
- Defined in:
- lib/regressy_common/capabilities/capability.rb,
lib/regressy_common/capabilities/cap_win10_ie11.rb,
lib/regressy_common/capabilities/cap_local_firefox.rb,
lib/regressy_common/capabilities/cap_real_galaxy_s8.rb,
lib/regressy_common/capabilities/cap_real_iphone_6s.rb,
lib/regressy_common/capabilities/cap_ios_10_3_iphone_6.rb,
lib/regressy_common/capabilities/cap_ios_11_4_iphone_7.rb,
lib/regressy_common/capabilities/cap_ios_13_1_iphone_8.rb,
lib/regressy_common/capabilities/cap_android_10_0_pixel_3.rb,
lib/regressy_common/capabilities/cap_android_9_0_galaxy_s9.rb
Defined Under Namespace
Classes: Capability
Class Method Summary collapse
- .android_10_0_pixel_3 ⇒ Object
- .android_9_0_galaxy_s9 ⇒ Object
- .ios_10_3_iphone_6 ⇒ Object
- .ios_11_4_iphone_7 ⇒ Object
- .ios_13_1_iphone_8 ⇒ Object
- .local_firefox ⇒ Object
- .real_galaxy_s8 ⇒ Object
- .real_iphone_6s ⇒ Object
- .win10_ie11 ⇒ Object
Class Method Details
.android_10_0_pixel_3 ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/regressy_common/capabilities/cap_android_10_0_pixel_3.rb', line 3 def self.android_10_0_pixel_3 caps = {} caps["name"] = "android_10_0_pixel_3" caps["browserName"] = "Chrome" caps["platform"] = "ANDROID" caps["version"] = "10.0" caps["deviceName"] = "Pixel 3" caps["platformName"] = "Android" caps["record_video"] = true caps["timeZone"] = "Tokyo" caps end |
.android_9_0_galaxy_s9 ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/regressy_common/capabilities/cap_android_9_0_galaxy_s9.rb', line 3 def self.android_9_0_galaxy_s9 caps = {} caps["name"] = "android_9_0_galaxy_s9" caps["browserName"] = "Chrome" caps["platform"] = "ANDROID" caps["version"] = "9.0" caps["deviceName"] = "Galaxy S9" caps["platformName"] = "Android" caps["record_video"] = true caps["timeZone"] = "Tokyo" # for TestingBot caps end |
.ios_10_3_iphone_6 ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/regressy_common/capabilities/cap_ios_10_3_iphone_6.rb', line 3 def self.ios_10_3_iphone_6 caps = {} caps["name"] = "ios_10_3_iphone_6" caps["browserName"] = "safari" caps["platform"] = "SIERRA" caps["version"] = "10.3" caps["deviceName"] = "iPhone 6" caps["platformName"] = "iOS" caps["record_video"] = true caps["timeZone"] = "Tokyo" caps end |
.ios_11_4_iphone_7 ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/regressy_common/capabilities/cap_ios_11_4_iphone_7.rb', line 3 def self.ios_11_4_iphone_7 caps = {} caps["name"] = "ios_11_4_iphone_7" caps["browserName"] = "safari" caps["platform"] = "HIGH-SIERRA" caps["version"] = "11.4" caps["deviceName"] = "iPhone 7" caps["platformName"] = "iOS" caps["record_video"] = true caps["timeZone"] = "Tokyo" caps end |
.ios_13_1_iphone_8 ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/regressy_common/capabilities/cap_ios_13_1_iphone_8.rb', line 3 def self.ios_13_1_iphone_8 caps = {} caps["name"] = "ios_13_1_iphone_8" caps["browserName"] = "safari" caps["platform"] = "CATALINA" caps["version"] = "13.1" caps["deviceName"] = "iPhone 8" caps["platformName"] = "iOS" caps["record_video"] = true caps["timeZone"] = "Tokyo" # for TestingBot caps end |
.local_firefox ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/regressy_common/capabilities/cap_local_firefox.rb', line 4 def self.local_firefox caps = Selenium::WebDriver::Remote::Capabilities.new caps["name"] = "local_firefox" caps["local"] = true caps["browserName"] = "firefox" caps["record_video"] = true caps["timeZone"] = "Tokyo" # for TestingBot caps end |
.real_galaxy_s8 ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/regressy_common/capabilities/cap_real_galaxy_s8.rb', line 3 def self.real_galaxy_s8 caps = {} caps["browserName"] = "chrome" caps["deviceName"] = "Galaxy S8" caps["name"] = "real_galaxy_s8" caps["platformName"] = "Android" caps["realDevice"] = true caps["record_video"] = true caps["version"] = "9.0" caps end |
.real_iphone_6s ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/regressy_common/capabilities/cap_real_iphone_6s.rb', line 3 def self.real_iphone_6s caps = {} caps["browserName"] = "safari" caps["deviceName"] = "iPhone 6s" caps["name"] = "real_iphone_6s" caps["platformName"] = "iOS" caps["realDevice"] = true caps["record_video"] = true caps["version"] = "12.1" caps end |
.win10_ie11 ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/regressy_common/capabilities/cap_win10_ie11.rb', line 4 def self.win10_ie11 caps = Selenium::WebDriver::Remote::Capabilities.new caps["name"] = "win10_ie11" caps["browserName"] = "internet explorer" caps["platform"] = "WIN10" caps["version"] = "11" caps["record_video"] = true caps["cssSelectorsEnabled"] = true caps["javascriptEnabled"] = true caps["nativeEvents"] = true caps["timeZone"] = "Tokyo" # for TestingBot caps end |