In an angular application using angular-ui-bootstrap, we have some icons which provide some information to the user:
<i class="icon-info ng-scope" popover="Popovertext goes here" popover-trigger="mouseenter" popover-append-to-body="false" data-original-title="" title=""></i>
I'm using phantomjs to create screenshots of the application, and I need the popover to be visable on the screenshot.
While in the angular-ui documentation there is nothing mentioned about showing a popover programmatically, I found a section in the bootstrap documentation which mentioned the popover
method, so I tried:
$('.icon-info').popover('show')
which is not working (but jQuery is available in the application).
How do I open the popover programmatically (from the context of PhantomJS / browser console)?