Skip to content

Commit

Permalink
Fix for Firefox URL method, from Alister Scott.
Browse files Browse the repository at this point in the history
  • Loading branch information
bret committed May 8, 2010
1 parent f88f20b commit ff86c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firewatir/lib/firewatir/firefox.rb
Expand Up @@ -461,7 +461,7 @@ def contains_text(target)

# Returns the url of the page currently loaded in the browser.
def url
@window_url = js_eval "#{document_var}.location"
@window_url = js_eval "#{document_var}.URL"
end

# Returns the title of the page currently loaded in the browser.
Expand Down

0 comments on commit ff86c3f

Please sign in to comment.