NUnitAsp

WebAssert.CurrentUrlEndsWith Method (String)

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

public static void CurrentUrlEndsWith(
   string expectedEndOfUrl
);

Parameters

expectedEndOfUrl
What you expect the URL to end with.

See Also

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