Skip to content

Commit b6679c5

Browse files
Merge pull request #44 from stof/patch-3
Fixed the method name to get the current url
2 parents 166886a + fc6b5d4 commit b6679c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WebDriver/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*
3030
* @method string window_handle() Retrieve the current window handle.
3131
* @method array window_handles() Retrieve the list of all window handles available to the session.
32-
* @method string getUrl() Retrieve the URL of the current page
32+
* @method string url() Retrieve the URL of the current page
3333
* @method void postUrl($jsonUrl) Navigate to a new URL
3434
* @method void forward() Navigates forward in the browser history, if possible.
3535
* @method void back() Navigates backward in the browser history, if possible.

0 commit comments

Comments
 (0)