How can I get text value from bs-tooltip-container

Yes. More than one. Your issue is going to be ensuring only the target tooltip is visible and present in the DOM. If you use your hover code, I’m hoping we have covered that potential issue.

The screenshot you provided did not cover the complete path to the tooltip. In fact, it contains LESS html.

Even so, let’s give this a shot: Add this code to your test case AFTER you have positioned the mouse. Make sure also the tooltip is visible BEFORE this code is executed…

String js = '''
var selector = "bs-tooltip-container div.tooltip-inner";
return document.querySelector(selector).innerText;
'''
String text = WebUI.executeJavaScript(js, null)

println("The tooltip text is: " + text)