currentPathObject
public
Returns the current path.
Example:
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.