An NDoc Documented Class Library

ISelenium.IsTextPresent Method 

Verifies that the specified text pattern appears somewhere on the rendered page shown to the user.

bool IsTextPresent(
   string pattern
);

Parameters

pattern
a pattern to match with the text of the page

Return Value

true if the pattern matches the text, false otherwise

See Also

ISelenium Interface | Selenium Namespace