NUnitAsp

WebAssert.CurrentUrlEndsWith Method (HttpClient, String)

Asserts that the specified browser's current URL ends with a specific string. Start your expectedEndOfUrl with a '/' for maximum accuracy.

public static void CurrentUrlEndsWith(
   HttpClient browser,
   string expectedEndOfUrl
);

Parameters

browser
The browser to check.
expectedEndOfUrl
What you expect the URL to end with.

See Also

WebAssert Class | NUnit.Extensions.Asp Namespace | WebAssert.CurrentUrlEndsWith Overload List