FindElementByTagAsync

Parent Previous Next

FindElementByTagAsync

Description: the method searches for an element in the DOM with a wait in seconds and returns a logical result true or false

Syntax: FindElementByTagAsync(string tag, int index, int sec)

Return value: bool (true or false)


Example:

bool result = await tester.FindElementByTagAsync("h1", 0, 5);

Created with the Personal Edition of HelpNDoc: Easily create EPub books