Содержание

printElement

Saves an image of the specified element to the file print.png

Syntax

printElement = function(aElement);

Parameters

Notes

Examples

  1. loadURI('http://www.google.com/recaptcha/learnmore');
    //Get the captcha image
    var image = getElement('img',0,['src'],['google.com/recaptcha/']);
    //Save the captcha image to the file print.png
    printElement(image);