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:

FRAMEElement frame = await tester.GetFrameAsync(0);

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


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

Created with the Personal Edition of HelpNDoc: Qt Help documentation made easy