|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.selenium.server.FrameGroupCommandQueueSet
public class FrameGroupCommandQueueSet
Manages sets of CommandQueues corresponding to windows and frames in a single browser session.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_LOCAL_FRAME_ADDRESS
|
static java.lang.String |
DEFAULT_SELENIUM_WINDOW_NAME
Each user-visible window group has a selenium window name. |
Constructor Summary | |
---|---|
FrameGroupCommandQueueSet(java.lang.String sessionId)
|
Method Summary | |
---|---|
static void |
clearQueueSet(java.lang.String sessionId)
Deletes the specified FrameGroupCommandQueueSet |
java.lang.String |
doCommand(java.lang.String command,
java.lang.String arg,
java.lang.String value)
Schedules the specified command to be retrieved by the next call to handle command result, and returns the result of that command. |
void |
endOfLife()
Empty queues, and thereby wake up any threads that are hanging around. |
CommandQueue |
getCommandQueue()
|
CommandQueue |
getCommandQueue(java.lang.String uniqueId)
|
static FrameGroupCommandQueueSet |
getQueueSet(java.lang.String sessionId)
Retrieves a FrameGroupCommandQueueSet for the specifed sessionId |
java.lang.String |
getStringArrayAccessorCSV(java.lang.String[] stringArray)
Generates a CSV string from the given string array. |
RemoteCommand |
handleCommandResult(java.lang.String commandResult,
FrameAddress incomingFrameAddress,
java.lang.String uniqueId,
boolean justLoaded,
java.util.List jsWindowNameVars)
Accepts a command reply, and retrieves the next command to run. |
static FrameAddress |
makeFrameAddress(java.lang.String seleniumWindowName,
java.lang.String localFrameAddress)
|
static FrameGroupCommandQueueSet |
makeQueueSet(java.lang.String sessionId)
Creates a FrameGroupCommandQueueSet for the specifed sessionId |
void |
reset()
|
java.lang.String |
waitForLoad(long timeoutInMilliseconds)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_LOCAL_FRAME_ADDRESS
public static final java.lang.String DEFAULT_SELENIUM_WINDOW_NAME
Constructor Detail |
---|
public FrameGroupCommandQueueSet(java.lang.String sessionId)
Method Detail |
---|
public CommandQueue getCommandQueue()
public static FrameGroupCommandQueueSet getQueueSet(java.lang.String sessionId)
public static FrameGroupCommandQueueSet makeQueueSet(java.lang.String sessionId)
public static void clearQueueSet(java.lang.String sessionId)
public CommandQueue getCommandQueue(java.lang.String uniqueId)
public java.lang.String doCommand(java.lang.String command, java.lang.String arg, java.lang.String value)
command
- - the remote command verbarg
- - the first remote argument (meaning depends on the verb)value
- - the second remote argument
public java.lang.String getStringArrayAccessorCSV(java.lang.String[] stringArray)
stringArray
- Array of strings to generate a CSV.public java.lang.String waitForLoad(long timeoutInMilliseconds)
public RemoteCommand handleCommandResult(java.lang.String commandResult, FrameAddress incomingFrameAddress, java.lang.String uniqueId, boolean justLoaded, java.util.List jsWindowNameVars)
Accepts a command reply, and retrieves the next command to run.
commandResult
- - the reply from the previous command, or nullincomingFrameAddress
- - frame from which the reply cameuniqueId
- justLoaded
- jsWindowNameVars
-
public void endOfLife()
Empty queues, and thereby wake up any threads that are hanging around.
public static FrameAddress makeFrameAddress(java.lang.String seleniumWindowName, java.lang.String localFrameAddress)
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |