how to get the current URL of a webpage in selenium-webdriver
Try driver.current_url
instead of get_url
.
https://groups.google.com/forum/?fromgroups=#!topic/selenium-users/zzP5IDgxP5A
Documentation for the Selenium::WebDriver::Driver class:
http://rubydoc.info/gems/selenium-webdriver/2.9.1/Selenium/WebDriver/Driver