Description
In the browser opened via Studio, searches for an iframe by the specified selector and saves the found result with a specific number. To interact with elements inside the iframe in the other activities from the 'Browser' section, the tab and iframe number must be specified.
The 'Attributes', 'CSS Selector' and 'XPath' sections enables you to identify the element to interact with. One of the above three methods needs to be chosen in order to set the element selector.
Attributes
-
Set a value: enables you to directly write a string with the value of the
class
attribute of the html-code of the corresponding element, for example,search-input
. -
Save the previous step result: chooses the previous activity result as the class name.
-
Calculate a value: enables you to use available properties and methods to form the class.
-
Set a value: enables you to directly write a string with the value of the
id
attribute of the html-code of the corresponding element, for example,hiddenLanguageInput
. -
Save the previous step result: chooses the previous activity result as the id.
-
Calculate a value: enables you to use available properties and methods to form the id.
-
Set a value: enables you to directly write a string with the value of the
name
attribute of the html-code of the corresponding element, for example,search
. -
Save the previous step result: chooses the previous activity result as the name.
-
Calculate a value: enables you to use available properties and methods to form the name.
-
Set a value: enables you to directly write a string with the tag name of the html-code of the corresponding element, for example,
div
. -
Save the previous step result: chooses the previous activity result as the tag name.
-
Calculate a value: enables you to use available properties and methods to form the tag name.
-
Set a value: enables you to directly write a CSS-selector string of the specified element, for example,
iframe[width='98%']
. -
Save the previous step result: chooses the previous function result as the CSS-selector.
-
Calculate a value: enables you to use available properties and methods to form the CSS-selector.
-
Set a value: enables you to directly write a string which is the selector of the specified element in the XPath form, for example,
//iframe[@id="myFrame"]
. -
Save the previous step result: chooses the previous function result as the XPath expression.
-
Calculate a value: enables you to use available properties and methods to form the XPath expression.
The browser tab number with the iframe.
On tab. This parameter allows you to specify the name of the tab that you want the bot to interact with. The name of the tab is assigned in the "Open URL" activity.
-
Set a value allows you to manually specify the name of the tab.
-
Calculate a value allows you to use a special formula or a special method to determine the name of the tab.
-
Save the previous step result takes the result of the previous workflow action as the name of the tab.
Use tab name in order
This checkbox allows you to specify a sequential number of a tab in the browser. It is worth using if a new tab opens not manually, but automatically after clicking on some element.
Contains an annotation to the activity. The input text will be displayed above the activity name.