Questions tagged [webpage-screenshot]

A screen dump, screen capture (or screencap), screenshot (or screen shot), screengrab (or screen grab), or print screen is an image taken by the computer user to record the visible items displayed on the monitor, television, or another visual output device.

Screenshots can be used to demonstrate a program, a particular problem a user might be having, or generally when display output needs to be shown to others or archived. For example, after being emailed a screenshot, a Web page author might be surprised to see how his page looks on a different Web browser and can take corrective action.

241 questions
3
votes
0 answers

How to screenshot the current webpage in an IE extension

So far, we've accomplished taking a screenshot of the current page with extensions for Firefox, Safari and Chrome - which were all more or less easy. However there doesn't seem to be any official documentation for extension development for IE at…
balupton
  • 47,113
  • 32
  • 131
  • 182
2
votes
1 answer

Taking screenshots of a page while its loading using Selenium WebDrivers

I have started using Selenium WebDrivers to automate some performance testing. I found out that we could take screenshots of a page after the page has completed loading using WebDrivers:…
2
votes
2 answers

GeckoFX WebBrowser page height and width

Does anyone know how I get the full page height and width in GeckoFX? In the IE WebBrowser object, I can look at WebBrowser.Document.Body.ScrollRectangle. (The objective here is to take a screenshot of the entire page) Thanks!
carlbenson
  • 3,177
  • 5
  • 35
  • 54
2
votes
2 answers

Selenium2: Taking screenshots with selenium grid 2

Is it possible to take screenshots using selenium grid 2? The RemoteWebDriver class does not implement the TakesScreenshot interface. Mark
2
votes
1 answer

Can't get screenshot using Google Apps Script

I am trying to get a screenshot of a website using Google Apps Script from the URL. I was following this guide I currently have the following code function snapScreenshot() { var siteUrl = 'https://praveen.science/'; var url =…
2
votes
1 answer

Node.CloneNode() not a function -dom-to-image.js

I want to create a .png file of a HTML page in angularjs and download it. For this I'm currently using dom-to-image.js and using the domToImage.toBlob function and passing the node element to it. But internally when it goes to dom-to-image.js it…
2
votes
0 answers

How to make the image of specific html div or how can I take screenshot of specific area in JS?

I want to take a screenshot of a specific div tag or specific defined area on button click event in javascript. I try canvas's method but it only makes the image of canvas data if any other data is there on the canvas area it ignores the other data…
2
votes
1 answer

The page is not load completely when call onPageFinished()

I want to take a screenshot of a web view after the page loading finished. So I try to add the getSnapShot() in onPageFinished(), but when call the getSnapShot(), the page is not loaded. So the picture of snapshot is blank. And I load a local html…
2
votes
3 answers

How to take screenshots in python?

I've an idea and want to implement it. But I'm not sure if it's gonna work. So, wanted to get your inputs. I would like to take screenshots of a url. Say, when I open a web-site www.espncricinfo.com , I would like to take screenshot of that page…
2
votes
1 answer

How to open a list of URLs and save a screenshot of each on my secondary monitor using Excel VBA

I have a list of URLs in range A1:A60. I want to open each, take a screenshot of the website, close the website and save the screenshot in jpg format. I'm using my secondary monitor to take a screenshot because I have changed the settings on that…
user10949765
2
votes
1 answer

How to capture full web page using QtWebEngine?

I use the following code in a QWebEngineView object to capture a web page to an image: image=new QImage(w,h, QImage::Format_ARGB32); painter = new QPainter(image); render(painter); image->save(imagefilename); Unfortunately, it only renders part of…
William
  • 761
  • 2
  • 10
  • 27
2
votes
0 answers

Take screenshot of web page containing javascript from the command line

I have tried several screenshot tools, but have been unable to find one that supports taking a screenshot of https://www.google.com.ph/maps/@55.6652884,12.4946009,89a,35y,254.22h,47.58t/data=!3m1!1e3?hl=en The tricky part here is that the tool needs…
Ole Tange
  • 31,768
  • 5
  • 86
  • 104
2
votes
3 answers

webpage screenshot khtml2png alternatives

Are there any alternatives to khtml2png ie. command line tools to create png screenshots of webpages? I would like to run it on a server to grab snapshots of certain sites. Linux only please. webkit2png is pretty awesome on osx... Thanks!
Eva611
  • 5,964
  • 8
  • 30
  • 38
2
votes
4 answers

Capture full webpage screenshot in selenium that has sticky header

I want to capture a full page screenshot of a webpage that has a sticky header. Say for example https://www.flipkart.com/ site has the sticky header. I am using Ashot and it took the screenshot like the one below. https://www.flipkart.com/ You can…
2
votes
2 answers

Browser screenshot as bitmap in WP7

I'm trying to get the screenshot of a given URL as a bitmap image on the Windows Phone. The WebBrowser class does not seem to have the DrawToBitmap method. Any pointers on how to get this working?
thunderboltz
  • 3,387
  • 3
  • 21
  • 20