Method: Selenium::WebDriver::Driver#title

Defined in:
lib/selenium/webdriver/common/driver.rb

#titleString

Get the title of the current page

Returns:

  • (String)


149
150
151
# File 'lib/selenium/webdriver/common/driver.rb', line 149

def title
  bridge.title
end