HTMLElement

Parent Previous Next

HTMLElement

Description: auxiliary class, an html element object

Syntax: HTMLElement(Tester tester, string by, string locator)


An example of getting an object:

HTMLElement element = await tester.GetElementAsync(Tester.BY_CSS, "#auth #buttonLogin");

await element.ClickAsync();


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

await element.ClickAsync();

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software