This method returns as soon as one of the following happens:
In any case, the result value contains ALL current conditions, which may be more than the specified condition set (i.e., never use the "==" operator to test for conditions in the bitmask, see also comments in {@link ChannelCondition}).
Note: do NOT call this method if you want to wait for STDOUT_DATA or STDERR_DATA and there are concurrent threads (e.g., StreamGobblers) that operate on either of the two InputStreams of this Session
(otherwise this method may block, even though more data is available in the StreamGobblers).
@param condition_set a bitmask based on {@link ChannelCondition} values
@param timeout non-negative timeout in ms, 0
means no timeout
@return all bitmask specifying all current conditions that are true
Note that, by default, the snippet will be run in the runner's test window, not in the window of your application. To get the window of your application, you can use the JavaScript snippet selenium.browserbot.getCurrentWindow()
, and then run your JavaScript in there
This method returns as soon as one of the following happens:
In any case, the result value contains ALL current conditions, which may be more than the specified condition set (i.e., never use the "==" operator to test for conditions in the bitmask, see also comments in {@link ChannelCondition}).
Note: do NOT call this method if you want to wait for STDOUT_DATA or STDERR_DATA and there are concurrent threads (e.g., StreamGobblers) that operate on either of the two InputStreams of this Session
(otherwise this method may block, even though more data is available in the StreamGobblers).
@param condition_set a bitmask based on {@link ChannelCondition} values
@param timeout non-negative timeout in ms, 0
means no timeout
@return all bitmask specifying all current conditions that are true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|