Reverted Browser#current_url
This commit is contained in:
parent
3f3382ac72
commit
9cf2fc4414
|
@ -63,7 +63,7 @@ class Capybara::RackTest::Browser
|
|||
end
|
||||
|
||||
def current_url
|
||||
URI.join(@current_host, URI.parse(last_request.url).request_uri).to_s
|
||||
last_request.url
|
||||
rescue Rack::Test::Error
|
||||
""
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue