DMBrowser.KeywordAssert Method

Definition

Searches the specified string or array of strings in “innertext” of an HTML document (default timeout is 50 seconds).

Overloads

KeywordAssert (keyword, timeout)

Searches the specified string.

public void KeywordAssert(string keyword, Timespan timeout = default(TimeSpan))

Parameters

 keyword  string

 timeout  TimeSpan

Examples

tab1.KeywordAssert ("file downloaded")

KeywordAssert (keywords)

Searches the specified massive of strings.

public void KeywordAssert(string[] keyword)

Parameters

 keyword  string[]