Point out regexes can be used in waitForPath() and waitForUrl()