Package net.thucydides.core.pages.jquery
Class JQueryEnabledPage
java.lang.Object
net.thucydides.core.pages.jquery.JQueryEnabledPage
public class JQueryEnabledPage
extends java.lang.Object
-
Constructor Summary
Constructors Modifier Constructor Description protectedJQueryEnabledPage(org.openqa.selenium.WebDriver driver)protectedJQueryEnabledPage(org.openqa.selenium.WebDriver driver, EnvironmentVariables environmentVariables) -
Method Summary
Modifier and Type Method Description voidactivateJQuery()protected voidexecuteScriptFrom(java.lang.String scriptSource)voidinjectJavaScriptUtils()voidinjectJQuery()voidinjectJQueryPlugins()booleanisJQueryAvailable()booleanisJQueryIntegrationEnabled()static JQueryEnabledPagewithDriver(org.openqa.selenium.WebDriver driver)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JQueryEnabledPage
protected JQueryEnabledPage(org.openqa.selenium.WebDriver driver) -
JQueryEnabledPage
protected JQueryEnabledPage(org.openqa.selenium.WebDriver driver, EnvironmentVariables environmentVariables)
-
-
Method Details
-
withDriver
-
isJQueryIntegrationEnabled
public boolean isJQueryIntegrationEnabled() -
isJQueryAvailable
public boolean isJQueryAvailable() -
injectJQuery
public void injectJQuery() -
executeScriptFrom
protected void executeScriptFrom(java.lang.String scriptSource) -
injectJQueryPlugins
public void injectJQueryPlugins() -
injectJavaScriptUtils
public void injectJavaScriptUtils() -
activateJQuery
public void activateJQuery()
-