public class JavascriptLibrary extends Object
| Constructor and Description |
|---|
JavascriptLibrary() |
| Modifier and Type | Method and Description |
|---|---|
Object |
callEmbeddedHtmlUtils(org.openqa.selenium.WebDriver driver,
String functionName,
org.openqa.selenium.WebElement element,
Object... values) |
void |
callEmbeddedSelenium(org.openqa.selenium.WebDriver driver,
String functionName,
org.openqa.selenium.WebElement element,
Object... values) |
Object |
executeScript(org.openqa.selenium.WebDriver driver,
String script,
Object... args) |
String |
getSeleniumScript(String name)
Loads the named Selenium script and returns it wrapped in an anonymous function.
|
public String getSeleniumScript(String name)
name - The script to load.public void callEmbeddedSelenium(org.openqa.selenium.WebDriver driver,
String functionName,
org.openqa.selenium.WebElement element,
Object... values)
public Object callEmbeddedHtmlUtils(org.openqa.selenium.WebDriver driver, String functionName, org.openqa.selenium.WebElement element, Object... values)
Copyright © 2014. All rights reserved.