segment-boneyard/nightmare

Screenshot tooltip

Open

#1134 opened on May 12, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (19,507 stars) (1,076 forks)batch import
Feature RequestHelp Wantedupstream

Description

Hi,

I want to capture screenshot of element tooltip, however, I have tried with both .mouseover and the plugin nightmare-real-mouse (realMouseover) but it doesn't work. The screenshot doesn't have tooltip. I wonder if the screenshot function itself can't capture the tooltip from Electron or those functions doesn't work. I tried to use realClick from the plugin, it works but realMouseover still can see the tooltip.

I'm trying to use window.webContents.sendInputEnvent but not success so far.

Any ideas on how to implement this requirement?

Thanks,

Contributor guide