GetAttributeFromElementByNameAsync

Parent Previous Next

GetAttributeFromElementByNameAsync

Описание: метод возвращает строчное значение из указанного атрибута в выбранном элементе

Синтаксис: GetAttributeFromElementByNameAsync(string name, int index, string attribute)

Возвращаемое значение: строка (string)


Пример:

string value = await tester.GetAttributeFromElementByNameAsync("MyElement", 0, "href");

Created with the Personal Edition of HelpNDoc: Free Kindle producer