ClickElementAsync

Parent Previous Next

ClickElementAsync

Description: the method performs a click on the element

Syntax: ClickElementAsync(string by, string locator)

Return value: no return value


Example:

await tester.ClickElementAsync(Tester.BY_CSS, "#auth #buttonLogin");


await tester.ClickElementAsync(Tester.BY_XPATH, "//div[@id='auth']//input[@id='buttonLogin']");

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