printElement

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

Syntax

printElement = function(aElement);

Parameters

  • aElement
    • functions: element image of which has to be saved

Notes

  • Functional is available only when working with WATaskTester

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);