ExpectedConditionsUrlContains Method WebDriver
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

public static Func<IWebDriver, bool> UrlContains(
	string fraction
)

Parameters

fraction
Type: SystemString
The fraction of the url that the page should be on

Return Value

Type: FuncIWebDriver, Boolean
when the URL contains the text; otherwise, .
See Also

Reference