From fc6b5d45e4591cbf5ef41ca566112fb85a3adae0 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 20 Jan 2014 05:21:57 +0100 Subject: [PATCH] Fixed the method name to get the current url The implementation of __call should allow using getUrl as well for this, but there is a getUrl method in AbstractWebDriver which is called instead. --- lib/WebDriver/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebDriver/Session.php b/lib/WebDriver/Session.php index d6b9fd3..95da648 100644 --- a/lib/WebDriver/Session.php +++ b/lib/WebDriver/Session.php @@ -29,7 +29,7 @@ * * @method string window_handle() Retrieve the current window handle. * @method array window_handles() Retrieve the list of all window handles available to the session. - * @method string getUrl() Retrieve the URL of the current page + * @method string url() Retrieve the URL of the current page * @method void postUrl($jsonUrl) Navigate to a new URL * @method void forward() Navigates forward in the browser history, if possible. * @method void back() Navigates backward in the browser history, if possible.