Hello,
I’m automating a workflow in a web-based application.
There’s a button I need to press to show a dropdown, but this button only becomes visible if you hover over the area.
The problem is that I cannot generate a selector for this button.
Situation 1: the button before I hover over it, the button shows as >
But when it comes to clicking, I cannot get it to work.
When I use the UiPath Explorer, the delay (F2) function doens’t work, if I left-click and hold the button remains as …, but the selector isn’t created. As soon as I let go or click again to create the selector, the button changes back to > and I get the wrong selector.
Hello @dyvo , Welcome to UiPath Community
Try this, Before indicating the Element, Just do right-click manually on the browser or some other place, and indicate the specific selectors. It may works.
When I’m recording the flow a selector box appears around the >, and it doesn’t change to the …, so I anchored it to it’s initial state.
However when I run the flow, if I leave the hover step in, it can’t find the anchor point anymore. If I remove the hover step it claims to run the recorded steps, but throws an error on the dropdown selection menu (but I don’t see it opening the dropdown).
Hi, thanks for responding. I’m not sure what you mean? If I right-click it shows the back/forward/save as…/ etc menu, but doesn’t change the behaviour of the selector
@dyvo
If you right-click some other place, it locks the page selector and even if we hover over the button it doesn’t respond. At the time we can indicate the required selector.
Apologies if I missed this in previous comments but have you tried the hover activity too?
If you are struggling to get your cursor over the element when its not visible, try ‘clicking’ on another element nearby then using the click offset function in the properties to offset where the curser clicks, and align it with where the element should be
Then use the hover activity, then the click activity, then the click activity.
To get the selector for the click activities, you use the hover (F6) function in the selector editor that opens when you click indicate element on an activity.