UiPath Selector

Question: Is it possible to store a UiPath Selector in a variable?

  •   Only within a String variable
  •   Only within a UiElement variable
  •   No
  •   No, unless within a flowchart


Option A is correct.

Selectors and Variables in UiPath Studio

You can use selectors anywhere, within a sequence or flowchart but they must be stored in a string variable as they are strings themselves. Selectors are within the attribute of a tag so they must be string