Beispiel #1
0
 public void Click()
 {
     Retry.DoWithRetry(() =>
     {
         GetElement().Click();
     }, $"I click on element by locator {Locator}");
 }
Beispiel #2
0
        public string GetText()
        {
            string text = null;

            Retry.DoWithRetry(() =>
            {
                text = GetElement().Text;
            }, $"I get text of element by locator {Locator}");
            return(text);
        }