예제 #1
0
 public static void Execute(this IWebDriver driver, JavaScript script)
 {
     script.Execute((IJavaScriptExecutor)driver);
 }
예제 #2
0
 public static object ExecuteAndGet(this IWebDriver driver, JavaScript script)
 {
     return(script.ExecuteAndGet((IJavaScriptExecutor)driver));
 }
예제 #3
0
 public static T ExecuteAndGet <T>(this IWebDriver driver, JavaScript script) where T : class
 {
     return(script.ExecuteAndGet <T>((IJavaScriptExecutor)driver));
 }
예제 #4
0
 public static dynamic Function(JavaScript body)
 {
     return(Function(Enumerable.Empty <string>(), body));
 }