An expectation for the URL of the current page to be a specific URL.
public static System.Func<OpenQA.Selenium.IWebDriver,bool> UrlMatches(string regex);
regex System.String
The regular expression that the URL should match.
System.Func<OpenQA.Selenium.IWebDriver,System.Boolean>
True if the URL matches the specified regular expression; otherwise, False.