Determines whether the content of this Response contains the specified text,
specifying whether the search will be case-sensitive.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax
Parameters
- text
- Type: System String
The text to look for.
- caseSensitive
- Type: System Boolean
true if the search should be case-sensitive.
Return Value
true if the text was found; otherwise, false.Examples
Response response = request.Send(); // Check that the login succeeded. if (!response.VerifyContains("Login successful", false)) { Error("Login failed"); NextIteration(); }
See Also