Hover over element to get ToolTip to show

Hello,

I have a website with code:

<span class="euiToolTipAnchor"><strong>an hour ago</strong></span>

When i hover over it with normal browser/mouse i got a tooltip visible, it changes the <strong> with aria-desribedby=“xxxx” and there is an additional div with the same id.

But when i try to Hover over it with RobotFramework it does not work. Robot is finding the element, i can click it, highlight it and it seems ok, but tooltip does not want to show itself while in chromium/RF/BrowserLib

I’ve tried with force=true and it’s the same outcome

any ideas how to overcome this issue?

thanks!
Tomasz

Hello,

Try this JavaScript to trigger the tooltip: Execute JavaScript var el = document.querySelector(‘.euiToolTipAnchor’); el.dispatchEvent(new MouseEvent(‘mouseenter’, {bubbles: true}));

Best Regard,
tim

I’ve seen some workarounds for not working Hover with Mouse Move Relative To, try this please e.g. some moves in bounding box with few steps.

did you try to give the offset’s ? Since this is text element, bounding box that triggers the tooltip might need to be within smaller box so passing a coordinates within those offsets might work and docs even on official playwright says the “location is just somewhere within the box” ..