FindElementByClassAsync

Parent Previous Next

FindElementByClassAsync

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

Syntax: FindElementByClassAsync(string _class, int index, int sec)

Return value: bool (true or false)


Example:

bool result = await tester.FindElementByClassAsync("my-element", 0, 5);

Created with the Personal Edition of HelpNDoc: Generate Kindle eBooks with ease