Class: RDee::BrowserFactory
- Inherits:
-
Object
- Object
- RDee::BrowserFactory
- Includes:
- AdditionalOptions, DesiredCapabilities, TargetParser
- Defined in:
- lib/rdee/browser_factory.rb
Instance Attribute Summary collapse
-
#android_capabilities ⇒ Object
Returns the value of attribute android_capabilities.
-
#android_options ⇒ Object
Returns the value of attribute android_options.
-
#chrome_options ⇒ Object
Returns the value of attribute chrome_options.
-
#firefox_options ⇒ Object
Returns the value of attribute firefox_options.
-
#ie_options ⇒ Object
Returns the value of attribute ie_options.
-
#ios_capabilities ⇒ Object
Returns the value of attribute ios_capabilities.
-
#ios_options ⇒ Object
Returns the value of attribute ios_options.
-
#persistent_http ⇒ Object
Returns the value of attribute persistent_http.
-
#safari_options ⇒ Object
Returns the value of attribute safari_options.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Methods included from AdditionalOptions
#additional_options_for, #need_android_options?, #need_chrome_options?, #need_firefox_options?, #need_ie_options?, #need_ios_options?, #need_safari_options?
Methods included from DesiredCapabilities
Methods included from MobileCapabilities
Methods included from MobileDevices
#mobile?, #mobile_browsers, #mobile_platform, #mobile_targets
Methods included from TargetParser
Instance Attribute Details
#android_capabilities ⇒ Object
Returns the value of attribute android_capabilities.
18 19 20 |
# File 'lib/rdee/browser_factory.rb', line 18 def android_capabilities @android_capabilities end |
#android_options ⇒ Object
Returns the value of attribute android_options.
16 17 18 |
# File 'lib/rdee/browser_factory.rb', line 16 def @android_options end |
#chrome_options ⇒ Object
Returns the value of attribute chrome_options.
16 17 18 |
# File 'lib/rdee/browser_factory.rb', line 16 def @chrome_options end |
#firefox_options ⇒ Object
Returns the value of attribute firefox_options.
16 17 18 |
# File 'lib/rdee/browser_factory.rb', line 16 def @firefox_options end |
#ie_options ⇒ Object
Returns the value of attribute ie_options.
16 17 18 |
# File 'lib/rdee/browser_factory.rb', line 16 def @ie_options end |
#ios_capabilities ⇒ Object
Returns the value of attribute ios_capabilities.
18 19 20 |
# File 'lib/rdee/browser_factory.rb', line 18 def ios_capabilities @ios_capabilities end |
#ios_options ⇒ Object
Returns the value of attribute ios_options.
16 17 18 |
# File 'lib/rdee/browser_factory.rb', line 16 def @ios_options end |
#persistent_http ⇒ Object
Returns the value of attribute persistent_http.
15 16 17 |
# File 'lib/rdee/browser_factory.rb', line 15 def persistent_http @persistent_http end |
#safari_options ⇒ Object
Returns the value of attribute safari_options.
16 17 18 |
# File 'lib/rdee/browser_factory.rb', line 16 def @safari_options end |
#url ⇒ Object
Returns the value of attribute url.
15 16 17 |
# File 'lib/rdee/browser_factory.rb', line 15 def url @url end |
Instance Method Details
#selenium_browser(target, options) ⇒ Object
25 26 27 28 |
# File 'lib/rdee/browser_factory.rb', line 25 def selenium_browser(target, ) platform, = (target, ) selenium_browser_for(platform, ) end |
#watir_browser(target, options) ⇒ Object
20 21 22 23 |
# File 'lib/rdee/browser_factory.rb', line 20 def watir_browser(target, ) platform, = (target, ) watir_browser_for(platform, ) end |