Some activities in Studio Pro involve working with elements of desktop apps, browser, or terminal. When you define an interface element you want using the Desktop Picker, Browser Picker, or Terminal Picker, that element will be stored both in the parameters of the activity itself and in the Elements tab, allowing you to easily work with the already selected elements, modify them, or define new ones.
You can find the "Elements" tab in the left side of the Studio Pro interface, next to the "Activities" tab.
Navigate to this panel to see a list of already defined elements. If you have not yet selected any elements within your algorithm, the tab will be empty. The screenshot below shows the "Elements" panel with a defined element of the "Notepad".
Click the button with the name of the element. Look at the screenshot below: in the right panel you will see the properties of the element. You can see the same properties in the Browser Picker when defining the element for the first time.
To replace an already defined item, click the "CHANGE THE ELEMENT" button.
This will open the Browser Picker window, where you can replace the selected item by clicking on the "REPLACE ELEMENT" button. The advanced options allow you to configure the selected item in more detail. The "TEST" button helps to find out if the item is defined correctly if any of its attributes have been changed.
Adding new elements
To define a new element, click on the "ADD NEW ELEMENT" button. Select the type of element you want from the drop-down list.
The element appears in the toolbar. Now you need to define the element directly in the application, browser, or terminal interface. You can do this by using the "CHANGE THE ELEMENT" button in the right toolbar. There you can also specify the name of the new element or leave a comment to it. Clicking the "CHANGE ELEMENT" button opens the Browser Picker window.
Note that the names of the elements in the "Elements" tab are displayed in different colors. White color means that this element is used in this particular file. An element name displayed in a dimmer color is not used in this file (it may not yet be defined through the Picker or imported from another file).
Click the "PICK" button to define a new element.
Studio Pro also allows you to import elements from other workflows. To do this, navigate to the tab "Tools" → "Import elements". The file explorer will appear. Find the folder where the algorithm with the selected elements is saved. Inside this folder, you will see the folders "elements" (for desktop elements), "webelements" (for browser elements), or "termelements" (for terminal interface elements). After that you will only need to select one or more elements and click "OPEN". The imported elements will appear in the "Elements" tab.
After you have selected an element, you can return to the parameters of the activity. All the defined items will appear in the drop-down list in the "Interface element" parameter. This way you can switch between the elements and select the one you want at the moment.
To delete an element, click on the corresponding icon next to the name of the item. Keep in mind that if you delete an item that is in the current workflow (the name of the item is highlighted in white), you will disrupt the action, which means that the bot will not be able to work as you expect.
Click "OK" in the pop-up window.