PrintElement

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

Syntax

procedure PrintElement(aElement: TCSElement);

Parameters

  • aElement
    • type: TCSElement
    • 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);