コード例 #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();
 }