question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. Itย collects links to all the places you might be looking at while hunting down a tough bug.

And, if youโ€™re still stuck at the end, weโ€™re happy to hop on a call to see how we can help out.

How can I capture WebView content?

See original GitHub issue

feature request

Version & Platform

npm ls react-native react-native-view-shot #<- PASTE CMD RESULT IN HERE

$ npm ls react-native-view-shot WorkbenchApp@3.0.1 /Users/lidongbo/WorkBentch/ReactNative/sinosig/workbench-app โ””โ”€โ”€ react-native-view-shot@2.6.0

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ New minor version of npm available! 6.11.3 โ†’ 6.13.4 โ”‚ โ”‚ Changelog: https://github.com/npm/cli/releases/tag/v6.13.4 โ”‚ โ”‚ Run npm install -g npm to update! โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Platform: iOS

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
sriteja777commented, Jan 5, 2021

@gre I am using a WebView, but when I capture the ref of WebView, only the part that is visible on the screen is captured, is it possible to capture whole web page?

0reactions
grecommented, Feb 4, 2020

@maxrisk captureRef captures a view by its ref and captureScreen captures the full viewport (โ€œscreenโ€) of the app.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I programmatically take a screenshot of a webview ...
Try this one import java.io.FileOutputStream; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.
Read more >
Using the WebView control to capture HTTP Request Content
First you need to use AddWebResourceRequestedFilter to specify a URL filter on what to capture. This minimizes the resource capture to just theย ......
Read more >
android.webkit.WebView.capturePicture java code examples
How can I programmatically take a screenshot of a webview, capturing the full page? Picture picture = view.capturePicture(); Bitmap b = Bitmap.
Read more >
[UWP]How to capture the contents of a WebView outside of ...
Hi,. I need to render a web page and then store that page into an image file from a non-UI thread. Just instantiating...
Read more >
WebView - Android Developers
WebView objects allow you to display web content as part of your activity ... Automatically determine whether a view is important for content...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found