public T CloseAllNotifications <T>() where T : BaseContainerComponent
        {
            JSCommands.CloseAllNotifications();

            return((T)this);
        }
Exemple #2
0
 public static void SetAttribute(this IWebElement webElement, string attributeName, string value)
 {
     JSCommands.SetAttribute(webElement, attributeName, value);
 }
Exemple #3
0
 public static T ClickUsingJavascript <T>(this T webElement) where T : IWebElement
 {
     JSCommands.ClickUsingJavascript(webElement.Location.X, webElement.Location.Y);
     return(webElement);
 }
Exemple #4
0
 public static T ScrollIntoView <T>(this T webElement) where T : IWebElement
 {
     JSCommands.ScrollIntoView(webElement);
     return(webElement);
 }