IsClickableElementAsync
Описание: метод определяет кликабельность элемента и возвращает true или false
Синтаксис: IsClickableElementAsync(string by, string locator)
Возвращаемое значение: логическое (true или false)
Пример:
Tester tester = new Tester(browserForm);
await tester.TestBeginAsync();
await tester.GoToUrlAsync("https://somovstudio.github.io/test.html", 5);
bool clickable = await tester.IsClickableElementAsync(Tester.BY_XPATH, "//*[@id='buttonLogin']");
await tester.AssertTrueAsync(clickable);
await tester.TestEndAsync();
Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites