|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperaRunner
Defines interface for controlling the Opera binary.
| Method Summary | |
|---|---|
java.lang.String |
getOperaCrashlog()
If Opera crashed there should be a crashlog. |
boolean |
hasOperaCrashed()
Did Opera crash? This is reset on next call, so if you don't check you won't know. |
boolean |
isOperaRunning()
Is Opera running? |
boolean |
isOperaRunning(int processId)
|
ScreenShotReply |
saveScreenshot(long timeout,
java.lang.String... hashes)
Take a screenshot of the full screen. |
void |
shutdown()
In case the runner has sockets and stuff, it needs to be shut down. |
void |
startOpera()
Start Opera, does nothing if Opera is already started. |
void |
stopOpera()
Stops Opera, does nothing if Opera isn't running. |
| Method Detail |
|---|
void startOpera()
void stopOpera()
boolean isOperaRunning()
boolean isOperaRunning(int processId)
boolean hasOperaCrashed()
java.lang.String getOperaCrashlog()
void shutdown()
ScreenShotReply saveScreenshot(long timeout,
java.lang.String... hashes)
timeout - attempt to take the screenshot until the timeout is reachedhashes - an arbitrary list of hashes to compare with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||