Class: Selenium::WebDriver::Dimension

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



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

def height
  @height
end

#width ⇒ Object

Returns the value of attribute width

Returns:

  • (Object) —

    the current value of width



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

def width
  @width
end