For precise selection of elements during the preparation of workflow for Host application, an advanced Control Panel enhancement has been brought inside Admin Console.
|PATH: Admin Console > Select the Application from the left side bar > Click on the Settings Icon> General Settings > Advanced > Advanced Options page appears|
Inside the page for Advanced Optionsthe user can create conditions to ignore specific selectors by clicking the Add Condition button. Any created conditions, will ignore the dynamic selectors there by allowing precise selection.
Dynamic Selectors: A dynamic selector uses a variable or an argument as a property for the attribute of your target tag. This allows the selector to easily identify a target element based on the value of the variable or argument, and not an exact string, which might change, depending on interactions inside our application. As such, the variable or argument can be changed to interact with a different element, without changing the selector itself.
Once clicked, conditions can be created as listed:
- A dropdown button appears against IF/OR IF condition where user can select the desired selectors from the dropdown
- Select the specific conditions from the next dropdown
- Enter the selector value to be ignored
More conditions can be added by clicking the button. Similarly, the added conditions can be removed by clicking thebutton
If Function is selected as the selector, a new dropdown appears where the user can select the desired function and can add the Function Body on the space provided.
Attribute Priority: The user can set the priority for defining the selector inside the Attribute Property field.
|NOTE: User can add the selectors separated by a comma inside the Attribute Priority field;|
For Ex: if id, class, href are entered inside the field then id will be given the highest priority and href will have the least priority.
A selector which remains unique and consistent during selection of element can be given higher priority
Container Score Threshold: Defines the accuracy of the selector; as per the defined threshold, element selection can be made more precise. Inside the Container Score Threshold field user can set the threshold value, any selector below the threshold value will be ignored.
Max Z-Index: The user can set the maximum Z-index for content displayed on the application inside the Max Z-Index field.
Z-index value ensure that the element is always on top.