|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VisualComparableClient
| Method Summary | |
|---|---|
void |
captureEntirePageScreenshot(String filePath)
|
void |
evaluate(String command)
Deprecated. You should use execute(String, Object...) instead. |
Object |
execute(String command,
Object... arguments)
Execute a script in the client and return the evaluated result. |
ScreenElement |
getElementAtPoint(int x,
int y)
|
void |
refreshAndWait()
|
boolean |
resizeScreen(ScreenResolution resolution,
boolean refreshAfterResize)
|
boolean |
waitForJQuery(long waitTimeMillis)
Wait until all active jQuery AJAX queries have returned -- i.e., no AJAX queries are active. |
| Method Detail |
|---|
void captureEntirePageScreenshot(String filePath)
ScreenElement getElementAtPoint(int x,
int y)
@Deprecated void evaluate(String command)
execute(String, Object...) instead.
command - a string of javascript to send to the client.
Object execute(String command,
Object... arguments)
command - a string of javascript to send to the client.arguments - additional arguments to provide to the script.
boolean resizeScreen(ScreenResolution resolution,
boolean refreshAfterResize)
void refreshAndWait()
boolean waitForJQuery(long waitTimeMillis)
waitTimeMillis - the time to wait for everything to finish.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||