I have defined a full xpath for a particular element on the web page in the selector.
Sometimes this xpath points to the correct element but randomly it clicks the area approx 2 cm above the intended element.
It is happening with the elements inside a menu like the given image -
What can I do to make sure it always points to the same element?
yes, the page is done loading
the menu opens on click. sorry, what is an animated menu?
When I used virtual clicks, the element to be clicked was not reached at all, so I rather went with Animated mouse = True and Virtual Click = False
Hi, you can also try to use an alternativ Selector. If you install the UI Vision Plugin to your Browser, you can inspect the Webpage, and if you selected the right target, you get a list of all possible xpath-selectors for this area.