segment-boneyard/nightmare

Screenshot tooltip

Open

#1,134 建立於 2017年5月12日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (1,076 fork)batch import
Feature RequestHelp Wantedupstream

倉庫指標

Star
 (19,507 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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,

貢獻者指南