| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
action(String using,
int windowID,
String... params)
Execute an Opera action with parameters to a specific window.
|
void |
action(String using,
int data,
String value,
String dataStringParam)
Execute an Opera action with a data parameter for extra integer data to be sent with the
action.
|
void |
action(String using,
String... params)
Execute an Opera action with parameters.
|
ScreenCaptureReply |
containsColor(Canvas canvas,
long timeout,
OperaColors... colors)
Check if the page contains color(s) as specified in
OperaColors. |
Set<String> |
getActionList()
Returns the list of possible Opera Actions on host.
|
void |
key(String key)
Execute a key press (immediately send key down and up).
|
void |
key(String key,
boolean up)
Create a key event, this event controls if the key has been previously pressed before allowing
key up.
|
void |
mouseAction(int x,
int y,
int count,
OperaMouseKeys... keys)
Create one or more mouse actions on coordinates x,y with key(s) as specified in
OperaMouseKeys and the number of repeated events as an integer. |
void |
mouseAction(int x,
int y,
OperaMouseKeys... keys)
Create a mouse action on coordinates x,y with key(s) as specified in
OperaMouseKeys. |
ScreenCaptureReply |
screenWatcher(Canvas canvas,
long timeout,
boolean includeImage,
List<String> hashes)
Take a screenshot of specified
ExecProtos.Area and
compare it with the given hashes (keys). |
getServiceName, getServiceVersion, initstatic final String SERVICE_NAME
void mouseAction(int x,
int y,
OperaMouseKeys... keys)
OperaMouseKeys.void mouseAction(int x,
int y,
int count,
OperaMouseKeys... keys)
OperaMouseKeys and the number of repeated events as an integer.void action(String using, String... params)
using - the name of the action to executeparams - the string parameters for extra string data to be sent with the action, e.g.
"opera.com" to the command "go"void action(String using, int windowID, String... params)
using - the name of the action to executewindowID - window to send the action to, 0 for the currently active windowparams - the string parameters for extra string data to be sent with the action, e.g.
"opera.com" to the command "go"void action(String using, int data, String value, String dataStringParam)
using - the name of the action to executedata - data parameter for extra integer data to be sent with the actionvalue - string parameter for extra string data to be sent with the action, e.g.
"opera.com" to the command "go"dataStringParam - extra string parameter for action, sent in addition to the value
parameter for actions that need two stringsvoid key(String key)
void key(String key, boolean up)
up - down if falseScreenCaptureReply containsColor(Canvas canvas, long timeout, OperaColors... colors)
OperaColors.ScreenCaptureReply screenWatcher(Canvas canvas, long timeout, boolean includeImage, List<String> hashes)
ExecProtos.Area and
compare it with the given hashes (keys).Copyright © 2012. All Rights Reserved.