How to Capture a Screenshot of a Web Page

 

Newbie has the capability to capture screenshots of websites using the following API functions:

 

Function ScreenCaptureToClipboard(sCaptureType: string): boolean;

- Takes a screenshot and copies it to the Clipboard.

Function ScreenCaptureToFile(sFullPath, sCaptureType: string): boolean;

- Takes a screenshot and saves the image to a file. The saved image can be a bitmap or jpeg.

Function ScreenCaptureXY(sFullPath: string; X1, Y1, X2, Y2: integer);

- Takes a screenshot of a rectangular region of the screen using 2 pairs of X and Y coordinates. These coordinates represent the top left and bottom right points of the region.
 

Capture Type:

SCREEN - captures the entire desktop screen

WINDOW - captures the top most application window

CLIENT - captures the client area of the top most application window

Please refer to the Newbie Online Help for details of these functions.
 

 

Newbie Web Automation