Port IMAGE - DEFAULT đ¶
Standard port for browser interaction
Stimulation¶
This port has no stimulus capabilities.
Properties đ¶
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Browser |
âFirefoxâ |
[âFirefoxâ, âChromeâ, âEdgeâ] |
string |
Browser selection. Browser path and WebDriver path must match the selection. |
|
Browser path |
string |
Absolute installation path to the browser. |
|||
Browser profile path |
string |
Optional: Absolute path to the used browser profile |
|||
Browser extensions |
string |
Optional: Comma-separated paths to browser extensions. Paths can be absolute or relative to the tool host base path. |
|||
Browser width |
800 |
int |
Width of the browser window in pixels. |
||
Browser height |
600 |
int |
Height of the browser window in pixels. |
||
WebDriver path |
string |
Installation path to the Webdriver. Path can be absolute or relative to the tool host base path. |
|||
Implicit timeout |
10 |
float |
Timeout in seconds, which applies to all steps unless specified otherwise in the step. |
||
Headless mode |
â |
bool |
Starts the browser in headless mode (without visible window). |
||
Additional arguments |
string |
Additional command line arguments that are passed to the configured WebDriver at startup, e.g. ââproxy-server=http://proxy.local:8338â. See the Selenium WebDriver documentation for possible arguments. |
|||
Live preview |
â |
bool |
Streams a live preview on the configured network port. The live stream is available under the toolhostâs IP address and the configured port, e.g. for a local tool connection: http://127.0.0.1:<port> |
||
Open preview window |
Live preview |
â |
bool |
Opens a preview window upon StartBrowser job execution. This window displays the current output of the image source as a livestream and will remain open until StopBrowser job execution. |
|
Port |
Live preview |
â<auto>â |
string |
The network port that will be used for live streaming. Every live stream needs an unique port if live streaming is enabled for multiple video sources. If the value is set to <auto> a free network port will be defined by the system. |
|
Show text overlay in video recordings |
â |
bool |
Adds a text overlay with the format âtimestamp package nameâ in the bottom left corner of video recordings. |
Jobs đ¶
ClickElement¶
Clicks onto the requested element.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
searchMethod |
âidâ |
[âidâ, âxpathâ, âlink textâ, âpartial link textâ, ânameâ, âtag nameâ, âclass nameâ, âcss selectorâ] |
string |
The method by which the element is identified. |
|
searchValue |
string |
The value that identifies the element to click onto, according to the search method. |
|||
timeout |
-1.0 |
float |
Timeout to wait for the element; -1 for default value from test bench configuration. |
ClickPosition¶
Clicks onto the requested position.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
positionX |
0 |
int |
The X location of the position. |
||
positionY |
0 |
int |
The Y location of the position. |
CloseWindow¶
Closes the specified window.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
windowHandle |
string |
The identifier for the window to be changed. |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
success |
[False, True] |
bool |
Returns whether the closing of the window was successful. |
DragAndDropByOffset¶
Performs a drag and drop on an element in the specified direction.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
offsetX |
0 |
int |
Number of pixels in horizontal direction. |
||
offsetY |
0 |
int |
Number of pixels in vertical direction. |
||
searchMethod |
âidâ |
[âidâ, âxpathâ, âlink textâ, âpartial link textâ, ânameâ, âtag nameâ, âclass nameâ, âcss selectorâ] |
string |
The method by which the element is identified. |
|
searchValue |
string |
The value that identifies the element to click onto, according to the search method. |
|||
timeout |
-1.0 |
float |
Timeout to wait for the element; -1 for default value from test bench configuration. |
ElementScreenshot¶
Returns the image of the first found element.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
searchMethod |
âidâ |
[âidâ, âxpathâ, âlink textâ, âpartial link textâ, ânameâ, âtag nameâ, âclass nameâ, âcss selectorâ] |
string |
The method by which the element is identified. |
|
searchValue |
string |
The value that identifies the element to click onto, according to the search method. |
|||
timeout |
-1.0 |
float |
Timeout to wait for the element; -1 for default value from test bench configuration. |
FindElements¶
Returns the IDs of the searched elements
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
searchMethod |
âidâ |
[âidâ, âxpathâ, âlink textâ, âpartial link textâ, ânameâ, âtag nameâ, âclass nameâ, âcss selectorâ] |
string |
The method by which the element is identified. |
|
searchValue |
string |
The value that identifies the element to click onto, according to the search method. |
|||
timeout |
-1.0 |
float |
Timeout to wait for the element; -1 for default value from test bench configuration. |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Response |
object |
List with IDs. |
GetCurrentUrl¶
Returns the URL of the currently opened web page.
Parameterization
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Response |
string |
Current URL. |
GetElementProperty¶
Returns the desired property of the element.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
propertyName |
string |
The value of the property to be returned. |
|||
searchMethod |
âidâ |
[âidâ, âxpathâ, âlink textâ, âpartial link textâ, ânameâ, âtag nameâ, âclass nameâ, âcss selectorâ] |
string |
The method by which the element is identified. |
|
searchValue |
string |
The value that identifies the element to click onto, according to the search method. |
|||
timeout |
-1.0 |
float |
Timeout to wait for the element; -1 for default value from test bench configuration. |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Response |
string |
Property value. |
GetOpenWindows¶
Returns all open windows. Empty list if none are open.
Parameterization
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
windows |
object |
List of all open windows. |
GetPageSource¶
Returns the HTML source of the web page.
Parameterization
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
html |
string |
HTML source code of the web page. |
GetWebDriver¶
Returns the internal Selenium WebDriver which allows direct access to the Selenium API.
GoBack¶
Displays the previous page again.
MoveMouseOverElement¶
Moves the mouse to the first element found.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
searchMethod |
âidâ |
[âidâ, âxpathâ, âlink textâ, âpartial link textâ, ânameâ, âtag nameâ, âclass nameâ, âcss selectorâ] |
string |
The method by which the element is identified. |
|
searchValue |
string |
The value that identifies the element to click onto, according to the search method. |
|||
timeout |
-1.0 |
float |
Timeout to wait for the element; -1 for default value from test bench configuration. |
OpenUrl¶
Opens the given web site (URL).
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
url |
string |
The complete web address. |
|||
windowName |
string |
The name of the window in which the URL should be opened. |
|||
windowType |
âCurrent windowâ |
[âCurrent windowâ, âSelected windowâ, âNew windowâ, âNew tabâ] |
string |
Type of window in which the URL should be opened. |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
windowHandle |
string |
The identifier of the window. |
ScrollElement¶
Scrolls by the requested distance in the given element - up (or to the left) for a given negative distance, down (or to the right) otherwise.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
searchMethod |
âidâ |
[âidâ, âxpathâ, âlink textâ, âpartial link textâ, ânameâ, âtag nameâ, âclass nameâ, âcss selectorâ] |
string |
The method by which the element is identified. |
|
searchValue |
string |
The value that identifies the element to click onto, according to the search method. |
|||
xDistance |
0 |
int |
The number of pixels to scroll. |
||
yDistance |
0 |
int |
The number of pixels to scroll. |
ScrollPage¶
Scrolls the whole page by the requested distance - up (or to the left) for a given negative distance, down (or to the right) otherwise.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
xDistance |
0 |
int |
The number of pixels to scroll. |
||
yDistance |
0 |
int |
The number of pixels to scroll. |
ScrollToElement¶
Scrolls to the given element.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
searchMethod |
âidâ |
[âidâ, âxpathâ, âlink textâ, âpartial link textâ, ânameâ, âtag nameâ, âclass nameâ, âcss selectorâ] |
string |
The method by which the element is identified. |
|
searchValue |
string |
The value that identifies the element to click onto, according to the search method. |
SendKey¶
Presses a special key.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
key |
âADDâ |
[âADDâ, âALTâ, âARROW_DOWNâ, âARROW_LEFTâ, âARROW_RIGHTâ, âARROW_UPâ, âBACKSPACEâ, âBACK_SPACEâ, âCANCELâ, âCLEARâ, âCOMMANDâ, âCONTROLâ, âDECIMALâ, âDELETEâ, âDIVIDEâ, âDOWNâ, âENDâ, âENTERâ, âEQUALSâ, âESCAPEâ, âF1â, âF10â, âF11â, âF12â, âF2â, âF3â, âF4â, âF5â, âF6â, âF7â, âF8â, âF9â, âHELPâ, âHOMEâ, âINSERTâ, âLEFTâ, âLEFT_ALTâ, âLEFT_COMMANDâ, âLEFT_CONTROLâ, âLEFT_METAâ, âLEFT_OPTIONâ, âLEFT_SHIFTâ, âMETAâ, âMULTIPLYâ, âNULLâ, âNUMPAD0â, âNUMPAD1â, âNUMPAD2â, âNUMPAD3â, âNUMPAD4â, âNUMPAD5â, âNUMPAD6â, âNUMPAD7â, âNUMPAD8â, âNUMPAD9â, âPAGE_DOWNâ, âPAGE_UPâ, âPAUSEâ, âRETURNâ, âRIGHTâ, âRIGHT_ALTâ, âRIGHT_CONTROLâ, âRIGHT_METAâ, âRIGHT_OPTIONâ, âRIGHT_SHIFTâ, âSEMICOLONâ, âSEPARATORâ, âSHIFTâ, âSPACEâ, âSUBTRACTâ, âTABâ, âUPâ, âZENKAKU_HANKAKUâ] |
string |
The key to be pressed. |
SetWindowSize¶
Changes the size of the browser window.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
mode |
âFrom test bench configurationâ |
[âFrom test bench configurationâ, âMaximizedâ, âMinimizedâ, âUser definedâ] |
string |
Custom value, âmaximizedâ, âminimizedâ or default value from test bench configuration |
|
windowHeight |
0 |
int |
Window height in pixels for âUser definedâ mode. |
||
windowWidth |
0 |
int |
Window width in pixels for âUser definedâ mode. |
StartBrowser¶
Starts the browser instance.
StopBrowser¶
Stops the browser instance.
SwitchToDefaultContent¶
Moves focus back to the main content after an iframe has been selected.
SwitchToFrame¶
Moves focus to an iframe for locating elements therein.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
identifier |
string |
Index, name or ID of the iframe. |
SwitchToWindow¶
Switches to the specified window.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
windowHandle |
string |
The identifier for the window to be changed. |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
success |
[False, True] |
bool |
Returns whether the switch to the window was successful. |
WebsiteScreenshot¶
Returns an image of the complete web page, including the invisible area.
WriteText¶
Types the given text at the current cursor position.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
pressEnter |
â |
bool |
If True, Enter is pressed after the input. |
||
text |
string |
The text that has to be typed. |