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
4
votes
1 answer

Take a screenshot of an entire webpage using Robot Framework

I have a problem on taking a screenshot using robotframework. Currently I am using keyword Capture Page Screenshot on Selenium2library. The problem is that, keyword only captures the webpage visible on the screen. We needed a screenshot that could…
Gerald
  • 43
  • 2
  • 4
4
votes
1 answer

Taking web page screen shot in Windows 8 Metro app

I'm trying to take screen shot of web page in Windows 8 Metro app. So far the only helpful control is the WebView. Unfortunately it does not contain any method like DrawToBitmap (known from Forms WebBrowser control). Am I missing…
user1405058
3
votes
1 answer

jupyter-notebook: does not page scroll when using firefox's Take a ScreenShot. Page scroll gets hidden

I am using firefox 66.0.2 (64-bit) I generally take screenshot of the portion of the webpage very eaily using Take a Screenshot (https://screenshots.firefox.com/) Now many websites when i want to capture a portion of the webpage, i can page scroll…
Santhosh
  • 9,965
  • 20
  • 103
  • 243
3
votes
2 answers

Calling Firefox's :screenshot helper function in the Browser Console with JavaScript

I am trying to write a small script to copy in the web console of a live page, and part of what this script needs to do is take several screenshots of the document body. This script will be for personal use, for a very specific task, so I think it…
itsmeciao
  • 97
  • 7
3
votes
3 answers

How do Google and Facebook implement and create the preview link functionality?

Google, Facebook and some others now have a preview link functionality where you can view a "screenshot" of say a website's home page. Are there any suggestions how I can achieve this? Specifically I'd like to be able to grab a screenshot (a la…
David Kierans
  • 1,599
  • 1
  • 16
  • 24
3
votes
1 answer

In headless chrome, how do i change the default output filename?

I am using this command to generate the screenshot chrome --headless --disable-gpu --screenshot --window-size=1280,1696 It's generating the output in current directory with name screenshot.jpeg. I want to change the default output directory as well…
3
votes
2 answers

Scrapy splash: screenshot specific element

Is there a way to screenshot a specific element in splash? I cannot seem to find a solution for this, The only option that I found is using "render.png" which takes a screenshot of the full page, I only need a specific element for example…
3
votes
2 answers

Access app.buttons in Xcode UITest without having any usable text for referencing.

So I am trying to get fastlane screenshot working and that means getting Xcode UITest working...I build an Ionic app that uses a 3-bar symbol as a slide-out button and that sort of thing is trivial with webapps. However, when I use uITest record, it…
menriquez
  • 239
  • 4
  • 17
3
votes
1 answer

IIS 8 worker process screen size restricted to 1024X768

I have a web application running under a .NET v4.0 integrated pipeline 64-bit application pool in IIS 8. My web application needs to take a screenshot (using Selenium / Chromedrive). The problem I'm running into is that the image is generated by…
CSharpShooter
  • 138
  • 1
  • 6
3
votes
1 answer

Why does PhantomJS render this website as a black square?

I'm investigating using PhantomJS to do some automated image rendering, based on an existing web javascript codebase. However, using the provided rasterize.js sample code renders our site as a 600x600 black image. Other sites seem to render ok. Now,…
Steve Bennett
  • 114,604
  • 39
  • 168
  • 219
3
votes
0 answers

PhantomJS 2.0 is slow

I'm taking screenshots of HTML pages using PhantomJS and I've been using my code (see below) successfully for over a year. However, a while ago I found out that the version I use (1.9.8) doesn't support web fonts: PhantomJS not rendering screenshots…
RuubW
  • 556
  • 4
  • 17
3
votes
1 answer

Using Allure to capture a screenshot on fail

I've been playing around with the Allure framework and I think that if any error/failure happened (basically anything that isn't a pass) I'd like to capture a screenshot. I'm using Java/Junit/Maven. I've seen there are various ways of using @Rule to…
Joseph
  • 541
  • 1
  • 4
  • 31
3
votes
1 answer

Taking Screenshot of Web Page (with Silverlight Controls) Programatically

I have a web page that displays some silver light controls. I need to take screenshot of this web page programmatically. Currently using the System.Windows.Forms.WebBrowser control for taking screenshot. Forms.WebBrowser works fine when I take…
Venki
  • 2,129
  • 6
  • 32
  • 54
3
votes
0 answers

Cant draw the contents of a div onto a canvas using Html2Canvas without a timeout

I am trying to capture the screenshot of a portion of the web-page in my web app using the following code. function getScreenshot(){ var content = document.querySelectorAll("div.class")[0]; setTimeout(function(){captureScreenshot()},10); …
cptdanko
  • 812
  • 2
  • 13
  • 22
3
votes
2 answers

python mechanize code to get webpage screenshot - but form submit NOT WORK

I browsed to this site: http://ctrlq.org/screenshots/ and found out that the form on this page can give the webpage screenshot of any URL we give it. Now, I want to to try the same using mechanize to see if I can achieve it through submitting the…
ihightower
  • 3,093
  • 6
  • 34
  • 49
1 2
3
16 17