Class: Selenium::WebDriver::Rectangle

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

Instance Attribute Summary collapse

Instance Attribute Details

#height ⇒ Object

Returns the value of attribute height

Returns:

  • (Object) —

    the current value of height



35
36
37
# File 'lib/selenium/webdriver.rb', line 35

def height
  @height
end

#width ⇒ Object

Returns the value of attribute width

Returns:

  • (Object) —

    the current value of width



35
36
37
# File 'lib/selenium/webdriver.rb', line 35

def width
  @width
end

#x ⇒ Object

Returns the value of attribute x

Returns:

  • (Object) —

    the current value of x



35
36
37
# File 'lib/selenium/webdriver.rb', line 35

def x
  @x
end

#y ⇒ Object

Returns the value of attribute y

Returns:

  • (Object) —

    the current value of y



35
36
37
# File 'lib/selenium/webdriver.rb', line 35

def y
  @y
end