Пример #1
0
 public void PerformActionAndWaitForPageToLoad(Action <DropdownWebElement> action, DropdownWebElement webElement = null)
 {
     action(webElement ?? this);
     if (ParentPage is ContainerBasePage)
     {
         (ParentPage as ContainerBasePage).WaitForPageToLoad();
     }
     else
     {
         ParentPage.WaitForPageToLoad();
     }
 }
Пример #2
0
 public void PerformActionAndWaitForPageToLoad(Action<DropdownWebElement> action, DropdownWebElement webElement = null)
 {
     action(webElement ?? this);
     if (ParentPage is ContainerBasePage)
         (ParentPage as ContainerBasePage).WaitForPageToLoad();
     else
         ParentPage.WaitForPageToLoad();
 }