GetAttributeFromElementByClassAsync

Parent Previous Next

GetAttributeFromElementByClassAsync

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

Syntax: GetAttributeFromElementByClassAsync(string _class, int index, string attribute)

Return value: string


Example:

string value = await tester.GetAttributeFromElementByClassAsync("my-element", 0, "href");

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