Class: Applitools::Selenium::RenderBrowserInfoFluent
- Inherits:
-
Object
- Object
- Applitools::Selenium::RenderBrowserInfoFluent
- Defined in:
- lib/applitools/selenium/render_browser_info_fluent.rb
Instance Attribute Summary collapse
-
#browser_info ⇒ Object
Returns the value of attribute browser_info.
Instance Method Summary collapse
- #emulation_info(value) ⇒ Object
- #environment(value) ⇒ Object
- #height(value) ⇒ Object
-
#initialize(browser_info) ⇒ RenderBrowserInfoFluent
constructor
A new instance of RenderBrowserInfoFluent.
- #platform(value) ⇒ Object
- #size_mode(value) ⇒ Object
- #type(value) ⇒ Object
- #width(value) ⇒ Object
Constructor Details
#initialize(browser_info) ⇒ RenderBrowserInfoFluent
Returns a new instance of RenderBrowserInfoFluent.
7 8 9 |
# File 'lib/applitools/selenium/render_browser_info_fluent.rb', line 7 def initialize(browser_info) self.browser_info = browser_info end |
Instance Attribute Details
#browser_info ⇒ Object
Returns the value of attribute browser_info.
6 7 8 |
# File 'lib/applitools/selenium/render_browser_info_fluent.rb', line 6 def browser_info @browser_info end |
Instance Method Details
#emulation_info(value) ⇒ Object
41 42 43 44 |
# File 'lib/applitools/selenium/render_browser_info_fluent.rb', line 41 def emulation_info(value) browser_info.emulation_info = value self end |
#environment(value) ⇒ Object
36 37 38 39 |
# File 'lib/applitools/selenium/render_browser_info_fluent.rb', line 36 def environment(value) browser_info.baseline_env_name = value self end |
#height(value) ⇒ Object
16 17 18 19 |
# File 'lib/applitools/selenium/render_browser_info_fluent.rb', line 16 def height(value) browser_info..height = value self end |
#platform(value) ⇒ Object
26 27 28 29 |
# File 'lib/applitools/selenium/render_browser_info_fluent.rb', line 26 def platform(value) browser_info.platform = value self end |
#size_mode(value) ⇒ Object
31 32 33 34 |
# File 'lib/applitools/selenium/render_browser_info_fluent.rb', line 31 def size_mode(value) browser_info.size_mode = value self end |
#type(value) ⇒ Object
21 22 23 24 |
# File 'lib/applitools/selenium/render_browser_info_fluent.rb', line 21 def type(value) browser_info.browser_type = value self end |
#width(value) ⇒ Object
11 12 13 14 |
# File 'lib/applitools/selenium/render_browser_info_fluent.rb', line 11 def width(value) browser_info..width = value self end |