SetAttributeInElementsByNameAsync
Description: the method inserts an attribute with the specified value into a set of elements and returns a list as a result
Syntax: SetAttributeInElementsByNameAsync(string name, string attribute, string value)
Return value: List
Example:
List<string> values = await tester.SetAttributeInElementsByNameAsync("link", "href", "www.test.ru");
foreach (string value in values)
{
tester.ConsoleMsg(value);
}
Created with the Personal Edition of HelpNDoc: Full-featured Kindle eBooks generator