public static T ExecuteJavascript <T>(this IWebElement element, IJavascript javascript, params object[] arguments) { return(javascript.Execute <T>(((WebElement)element).SeleniumElement)); }
public static void ExecuteJavascript(this IWebElement element, IJavascript javascript, params object[] arguments) { element.ExecuteJavascript <object>(javascript, arguments); }
public static T ExecuteJavascript <T>(this IWebDriver driver, IJavascript javascript, params object[] arguments) { return(javascript.Execute <T>(driver)); }