Yes, using a selector configuration setup is a good approach. Store environment-specific selector parts in a config file or Orchestrator asset, and dynamically build selectors using variables. Alternatively, use wildcarding, anchor-based selectors, or modern design experience with strict UI descriptors to create more environment-agnostic selectors. This reduces rework and improves maintainability across environments.
Happy Automation with UiPath.