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