GetValueFromElementAsync

Parent Previous Next

GetValueFromElementAsync

Description: the method returns the value from the specified element

Syntax: GetValueFromElementAsync(string by, string locator)

Return value: string


Example:

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: Easy EPub and documentation editor