Class: Selenium::WebDriver::Rectangle

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

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



33
34
35
# File 'lib/selenium/webdriver.rb', line 33

def height
  @height
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



33
34
35
# File 'lib/selenium/webdriver.rb', line 33

def width
  @width
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



33
34
35
# File 'lib/selenium/webdriver.rb', line 33

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



33
34
35
# File 'lib/selenium/webdriver.rb', line 33

def y
  @y
end