Class: Async::WebDriver::Element::Rectangle

Inherits:
Struct
  • Object
show all
Defined in:
lib/async/webdriver/element.rb

Overview

A struct representing the size of an element.

Instance Attribute Summary collapse

Instance Attribute Details

#height ⇒ Object

Returns the value of attribute height

Returns:

  • (Object) —

    the current value of height



220
221
222
# File 'lib/async/webdriver/element.rb', line 220

def height
  @height
end

#width ⇒ Object

Returns the value of attribute width

Returns:

  • (Object) —

    the current value of width



220
221
222
# File 'lib/async/webdriver/element.rb', line 220

def width
  @width
end

#x ⇒ Object

Returns the value of attribute x

Returns:

  • (Object) —

    the current value of x



220
221
222
# File 'lib/async/webdriver/element.rb', line 220

def x
  @x
end

#y ⇒ Object

Returns the value of attribute y

Returns:

  • (Object) —

    the current value of y



220
221
222
# File 'lib/async/webdriver/element.rb', line 220

def y
  @y
end