Uses of Class
org.openqa.selenium.ScriptKey
-
Packages that use ScriptKey Package Description org.openqa.selenium -
-
Uses of ScriptKey in org.openqa.selenium
Methods in org.openqa.selenium that return ScriptKey Modifier and Type Method Description default ScriptKey
JavascriptExecutor. pin(java.lang.String script)
Commonly used scripts may be "pinned" to the WebDriver session, allowing them to be called efficiently by their handle rather than sending the entire script across the wire for every call.Methods in org.openqa.selenium that return types with arguments of type ScriptKey Modifier and Type Method Description default java.util.Set<ScriptKey>
JavascriptExecutor. getPinnedScripts()
Methods in org.openqa.selenium with parameters of type ScriptKey Modifier and Type Method Description default java.lang.Object
JavascriptExecutor. executeScript(ScriptKey key, java.lang.Object... args)
Calls a script by theScriptKey
returned byJavascriptExecutor.pin(String)
.default void
JavascriptExecutor. unpin(ScriptKey key)
Deletes the reference to a script that has previously been pinned.
-