Hi @TPDBS
I suggested working with nested If's statements because your original question mentions two elements.
With more than 2 elements, an idea is using variables as flags and then compare those variables within Case/Switch options.
For example, first you set the variables as result of existing elements:
1. 'If web page contains' element A then
2. 'Set variable' %FlagA% to 1
3. 'End' if
4. 'If web page contains' element B then
5. 'Set variable' %FlagB% to 1
6. 'End' if
7. 'If web page contains' element N then
8. 'Set variable' %FlagN% to 1
9. 'End' if
and so on
Then, concatenate these variables into a new one:
10. 'Set variable' %Test% as %FlagA%%FlagB%%FlagN% (this gives you 111 or 101 for example)
At last, use Switch/Case to define situations and actions:
11. 'Switch', value to check= %Test%
12. 'Case' =110
13. (Your actions here)
14. 'Case =101
15. (Your actions here)
...