GetValueFromElementAsync

Parent Previous Next

GetValueFromElementAsync

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

Синтаксис: GetValueFromElementAsync(string by, string locator)

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


Пример:

string value = await tester.GetValueFromElementAsync(Tester.BY_CSS, "input[id='login']");


string value = await tester.GetValueFromElementAsync(Tester.BY_XPATH, "//input[@id='login']");

Created with the Personal Edition of HelpNDoc: Full-featured EPub generator