segment-boneyard/nightmare

Screenshot tooltip

Open

#1134 aperta il 12 mag 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (1076 fork)batch import
Feature RequestHelp Wantedupstream

Metriche repository

Star
 (19.507 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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,

Guida contributor