GetTextFromElementByClassAsync

Parent Previous Next

GetTextFromElementByClassAsync

Description: the method returns the text from the specified element

Syntax: GetTextFromElementByClassAsync(string _class, int index)

Return value: string


Example:

string text = await tester.GetTextFromElementByClassAsync("my-element", 0);

Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents