IsClickableElementAsync
Description: the method determines the clickability of the element and returns true or false
Syntax: IsClickableElementAsync(string by, string locator)
Return value: bool (true or false)
Example:
FRAMEElement frame = await tester.GetFrameAsync(0);
bool clickable = await frame.IsClickableElementAsync(Tester.BY_CSS, "#buttonLogin");
await tester.AssertTrueAsync(clickable);
bool clickable = await frame.IsClickableElementAsync(Tester.BY_XPATH, "//*[@id='buttonLogin']");
await frame.AssertTrueAsync(clickable);
Created with the Personal Edition of HelpNDoc: Full-featured Kindle eBooks generator