The robot I am currently developing needs to go to LinkedIn, enter a full name + company name in the search bar, and then see if there is only one result coming up, which is usually the case. If there is only one result, the robot needs to go to that profile. So it needs to click either on the name or the profile picture in order to go to the profile of the person I am looking for. I think I tried to alter the selector already a thousand times but nothing seems to work. Everytime the selector seems to work and I look for another person, the selector is not valid anymore. Could anyone point me in the right direction?
In the example above, I changed the name of the person I looked up to “*” twice.
(Sorry for all the green, I wanted to make everyone in the print screen anonymous. )