captureScreen did not take modal opened
See original GitHub issueIm open a modal on my app, and when user click on button inside that modal, i trigger capturescreen function but it seems only capture my screen without the modal. is this a bug or anything I did wrong ?
captureScreen({ format: "jpg", quality: 0.8 }) .then( (uri) => { console.log("Image saved to", uri) }, error => console.error("Oops, snapshot failed", error) );
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:8 (2 by maintainers)
Top Results From Across the Web
(Modal) Dialog Window not captured when taking screenshot
I have a C# project with WPF and CAB where I want to take a screenshot of the entire screen including a modal...
Read more >Issue with taking screenshot while the jscript dialog box is ...
Expected: When the alert box is being opened-take the screenshot. Actual: Getting unhandled exception-Modal dialog present. Webdriver: 2.23.
Read more >The Hidden Trick for Capturing Document-Modal Dialogs in ...
They do. In any application, open Help (from the Help menu). Type “screenshot” in the search field. Choose “Take screenshots or screen ...
Read more >Create/Screen Shot (Windows): capturing a modal ... - GitLab
Open any application then any Modal dialog in this application. ... Release the mouse button : a screenshot of IE is taken instead...
Read more >It's not possible to take a new screenshot with this tool. - Visual ...
That's a problem because if the screenshot I want to send includes a modal window, I can't press the “report problem” button. If...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is the sample code @Taym95 Thanks!
https://es6console.com/jgpxn4cx/
sorry, could not paste the code directly here… have trouble of highlighting it.
I am interested, Can you modify the snippet with a functional component? I did what you said and I get the error Argument appears to not be a ReactComponent. Keys: current
Maybe, the functionality I’m looking for is to capture the View of a modal that is hidden.