Skip to content

Commit fc6b5d4

Browse files
committed
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.
1 parent 891369d commit fc6b5d4

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)