Class: Async::WebDriver::Element::Rectangle
- Inherits:
-
Struct
- Object
- Struct
- Async::WebDriver::Element::Rectangle
- Defined in:
- lib/async/webdriver/element.rb
Overview
A struct representing the size of an element.
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#width ⇒ Object
Returns the value of attribute width.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height
222 223 224 |
# File 'lib/async/webdriver/element.rb', line 222 def height @height end |
#width ⇒ Object
Returns the value of attribute width
222 223 224 |
# File 'lib/async/webdriver/element.rb', line 222 def width @width end |
#x ⇒ Object
Returns the value of attribute x
222 223 224 |
# File 'lib/async/webdriver/element.rb', line 222 def x @x end |
#y ⇒ Object
Returns the value of attribute y
222 223 224 |
# File 'lib/async/webdriver/element.rb', line 222 def y @y end |