GetAttributeFromElementByTagAsync

Parent Previous Next

GetAttributeFromElementByTagAsync

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

Синтаксис: GetAttributeFromElementByTagAsync(string tag, int index, string attribute)

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


Пример:

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

Created with the Personal Edition of HelpNDoc: Full-featured multi-format Help generator