public interface ScreenWebDriver
| Modifier and Type | Method and Description |
|---|---|
boolean |
findAnyIdInChannel(java.lang.String channelName,
java.util.List<java.lang.String> channelIds)
Searches for the specified channel instances and returns
true if any found,
false otherwise. |
BrowserDetails |
getBrowserDetails()
Returns the browser details.
|
KeyValueStorage |
getLocalStorageAccessor(java.lang.String storageId,
java.lang.String fwdUser)
Returns accessor for localStorage for web drivers,
null for other drivers. |
boolean |
pingBroadcastChannel(java.lang.String channelName,
java.lang.String targetChannelId)
Returns if the target broadcast channel responds with pong.
|
boolean |
pingOnWebSocket()
Check if the WebSocket connection is alive.
|
void |
registerBroadcastChannel(java.lang.String channelName,
java.lang.String channelId)
Opens a broadcast channel in the client's front-end.
|
OsPassChangeInput |
retryPassChangeOnError(java.lang.String osUserName,
java.lang.String errMsg)
Shows an error message in the OS pass change process.
|
void |
setCurrentLanguage(java.lang.String language)
Set new current session language for the client.
|
OsPassChangeInput |
showChangePasswordDialog(java.lang.String osUserName,
boolean isModal)
Shows a dialog to allow the change of the OS account password.
|
void |
showSuccessfulPassChange()
Shows that the OS pass has been changed successfully on the front-end and hide the dialog.
|
void setCurrentLanguage(java.lang.String language)
language - The language identifierKeyValueStorage getLocalStorageAccessor(java.lang.String storageId, java.lang.String fwdUser)
null for other drivers.storageId - Unique id for the storage.fwdUser - The FWD user name.KeyValueStorage instance.void registerBroadcastChannel(java.lang.String channelName,
java.lang.String channelId)
channelName - The name of the channel. The same for all instances of the app. Usually package root.channelId - The ID of the channel. Unique for this instance of the app. Usually session ID.boolean pingBroadcastChannel(java.lang.String channelName,
java.lang.String targetChannelId)
channelName - The name of the channel. The same for all instances of the app. Usually package root.targetChannelId - The id of the target channel. Unique for this instance of the app. Usually session ID.true if the target broadcast channel responds with pong,
false otherwise.boolean findAnyIdInChannel(java.lang.String channelName,
java.util.List<java.lang.String> channelIds)
true if any found,
false otherwise.channelName - The broadcast channel name.channelIds - A list of channel ids to check for.true if any of the channel instances found, false otherwise.boolean pingOnWebSocket()
true if the websocket connection is alive, false otherwise.BrowserDetails getBrowserDetails()
OsPassChangeInput showChangePasswordDialog(java.lang.String osUserName, boolean isModal)
osUserName - The OS account name.isModal - Flag to indicate if the dialog should be modal (non-dismissible).void showSuccessfulPassChange()
OsPassChangeInput retryPassChangeOnError(java.lang.String osUserName, java.lang.String errMsg)
osUserName - The OS account name.errMsg - The error message.