GetTextFromElementByTagAsync

Parent Previous Next

GetTextFromElementByTagAsync

Description: the method returns the text from the specified element

Syntax: GetTextFromElementByTagAsync(string tag, int index)

Return value: string


Example:

string text = await tester.GetTextFromElementByTagAsync("h1", 0);

Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor