@Deprecated
public class JQuery
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static JQuery |
jQuery
Deprecated.
This instance is mutable so that you can replace it with your own custom object.
|
| Constructor and Description |
|---|
JQuery()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
change(org.openqa.selenium.By by)
Deprecated.
Not needed anymore. Methods $.setValue() and $.append() trigger change event automatically.
|
void |
change(org.openqa.selenium.By by,
int index)
Deprecated.
Not needed anymore. Methods
$.setValue() and $.append() trigger change event automatically. |
void |
executeJQueryMethod(org.openqa.selenium.By by,
java.lang.String method)
Deprecated.
|
protected java.lang.String |
getJQuerySelector(org.openqa.selenium.By seleniumSelector)
Deprecated.
|
boolean |
isJQueryAvailable()
Deprecated.
No need to depend on JQuery in your tests
|
void |
onClick(org.openqa.selenium.By by)
Deprecated.
Do not try to click invisible elements in your test. User cannot click them, so your test should not as well.
|
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
@Deprecated public void onClick(org.openqa.selenium.By by)
@Deprecated public void change(org.openqa.selenium.By by)
@Deprecated
public void change(org.openqa.selenium.By by,
int index)
$.setValue() and $.append() trigger change event automatically.@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.@Deprecated
public void executeJQueryMethod(org.openqa.selenium.By by,
java.lang.String method)
@Deprecated public boolean isJQueryAvailable()
protected java.lang.String getJQuerySelector(org.openqa.selenium.By seleniumSelector)