Fixed wrong workflow

This was always clicking on the first element found in the page, and not in the app.