I have loop for span elements which are kinda links. My goal is to click each link and trigger workflow. Workflow does certain actions on the following pages like datascraping etc. The final actions comes back to main websites where all spans are located - I click “save seettings” and web automatically takes me back to the first screen. The problem is that loop works for first element and does all the job and when second element s supposed to be executed I receive error that uielement is not longer valid. My selectors are correct as checked them on highlight and each of them worked.
Also the workflow opens another browser and another website. Is is matter of activating the first browser as robot looses the elements ?