currentURLObject
public
Returns the current URL.
Example:
1 2 3 4 5 | function validateURL() { equal(currentURL(), '/some/path' , "correct URL was transitioned into." ); } click( '#some-link-id' ).then(validateURL); |
Returns:
-
Object
- The currently active URL.
Please login to continue.