How to click in a web down-menu that is disappearing before I can select element?

Hi,

I’m working in a web automation. I need to click into an element of a sub-menu that only appears when I hover the mouse over the main menu.

I am aware of the “simulate hover mouse activity”. My problem is that I can’t select in the “Click activity” the desired link in the emerging submenu. I tried the F2 trick to disable the select mode for a few seconds, but once the “coun-down” is over the menu disappears and I cannot select the element.

Same happens if I try the “Record” tool. Once I click the main menu, the submenu disappears after some miliseconds.

Any ideas?
Thank you,
David

Click on the element where you would normally hover in UI Explorer. Then check the children elements and look for the item which looks like it identifies the drop-down you’re searching for. Chances are the aaname will match the text of the drop-down you want.

Thank you Anthony,

The idea to use the UI Explorar was good. The UI Explorer selected the following element



However, I couldn’t find any children elements. I looked at the HTML source code, and it seems like it’s loading content dynamically through javascript functions. I searched for words that apperar in the page, and they are not present in the HTML source code.

Can all web pages be automated with UI Path, or some websites can not due to the way they have been programmed?

Thank you,
David

Dynamically created data can be tricky. If the element exists in the object explorer in the browser (usually invoked by pressing F12 in the browser), then UiPath will likely detect it. Otherwise, it requires another means to choose the element (hotkeys, coordinate-based clicks, etc.).

1 Like

Thank you.

I will explore the F12 in my browser, but I suspect it is dynamically created data and it is beyond my current UI Path skills.

Coordinate-based clicks can be another option combined with a prior hover mouse activity, but I guess it is much less robust and more prone to errors. I will also give it a try.

Thank you.
David