public class ActionEngine extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENTERSIGNAL
Constant encoding carriage return character
|
Constructor and Description |
---|
ActionEngine(long waitAfterActionExecution_ms) |
Modifier and Type | Method and Description |
---|---|
static FieldTypes |
getFieldType(DOMNode n)
Returns a FieldType based on the HTML data of the node.
|
static void |
performBackAction(WebBrowser currentBrowser,
Action action)
TODO: can be considered for the solving the problem related to opening a new window.
|
DOMElement |
takeAction(DOMNode contextNode,
FieldTypes ft,
Action action) |
void |
waitIfRequested(Action action,
DOMNode context)
Forces waiting after an action if specified
|
public static final String ENTERSIGNAL
public static FieldTypes getFieldType(DOMNode n)
n
- Node object to return FieldTypepublic void waitIfRequested(Action action, DOMNode context)
action
- context
- public DOMElement takeAction(DOMNode contextNode, FieldTypes ft, Action action) throws OXPathException
OXPathException
public static void performBackAction(WebBrowser currentBrowser, Action action) throws OXPathException
currentBrowser
- action
- OXPathException
Copyright © 2020 OXPath Team. All rights reserved.