Method: Selenium::WebDriver::Driver#title

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

#titleString

Get the title of the current page

Returns:

  • (String)


154
155
156
# File 'lib/selenium/webdriver/common/driver.rb', line 154

def title
  bridge.title
end