Class: Selenium::WebDriver::Dimension

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

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) height

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



14
15
16
# File 'rb/lib/selenium/webdriver.rb', line 14

def height
  @height
end

- (Object) width

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



14
15
16
# File 'rb/lib/selenium/webdriver.rb', line 14

def width
  @width
end