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)


159
160
161
# File 'lib/selenium/webdriver/common/driver.rb', line 159

def current_url
  bridge.url
end