Method: Selenium::WebDriver::Driver#current_url

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

#current_urlString

Get the URL of the current page

Returns:

  • (String)
[View source]

152
153
154
# File 'lib/selenium/webdriver/common/driver.rb', line 152

def current_url
  bridge.url
end