segment-boneyard/nightmare

Screenshot tooltip

Open

#1,134 opened on 2017年5月12日

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

説明

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,

コントリビューターガイド

Screenshot tooltip · segment-boneyard/nightmare#1134 | Good First Issue