Method: Selenium::WebDriver::Dimension#width

Defined in:
lib/selenium/webdriver.rb

#widthObject

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