GetAttributeFromElementByTagAsync

Parent Previous Next

GetAttributeFromElementByTagAsync

Description: the method returns a lowercase value from the specified attribute in the selected element

Syntax: GetAttributeFromElementByTagAsync(string tag, int index, string attribute)

Return value: string


Example:

string value = await tester.GetAttributeFromElementByTagAsync("a", 0, "href");

Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily