public class JQuery
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static JQuery |
jQuery
This instance is mutable so that you can replace it with your own custom object.
|
| Constructor and Description |
|---|
JQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
change(org.openqa.selenium.By by)
Trigger "onchange" event on given element
|
void |
change(org.openqa.selenium.By by,
int index)
Trigger "onchange" event on given element
|
void |
executeJQueryMethod(org.openqa.selenium.By by,
java.lang.String method) |
protected java.lang.String |
getJQuerySelector(org.openqa.selenium.By seleniumSelector) |
boolean |
isJQueryAvailable() |
void |
onClick(org.openqa.selenium.By by)
Calls onclick javascript code.
|
void |
scrollTo(org.openqa.selenium.By element)
Deprecated.
Use method
$(...).scrollTo() instead - it's jquery-agnostic.
This method works only if jQuery "scroll" plugin is included in page being tested |
public static JQuery jQuery
public void onClick(org.openqa.selenium.By by)
public void change(org.openqa.selenium.By by)
public void change(org.openqa.selenium.By by,
int index)
@Deprecated public void scrollTo(org.openqa.selenium.By element)
$(...).scrollTo() instead - it's jquery-agnostic.
This method works only if jQuery "scroll" plugin is included in page being tested
element - HTML element to scroll to.public void executeJQueryMethod(org.openqa.selenium.By by,
java.lang.String method)
public boolean isJQueryAvailable()
protected java.lang.String getJQuerySelector(org.openqa.selenium.By seleniumSelector)