An expectation for the URL of the current page to be a specific URL.
Namespace: OpenQA.Selenium.Support.UI
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 3.1.0
Syntax
Parameters
- fraction
- Type: SystemString
The fraction of the url that the page should be on
Return Value
Type: FuncIWebDriver, Booleanwhen the URL contains the text; otherwise, .
See Also