url method

Class: TargetPlatform: ImagesLanguage: JavaScript SDK:

Provide the URI of an image to use as the checkpoint image.

Syntax


eyes.check(Target.url(imageUrl, imageSize))
eyes.check(Target.url(imageUrl))

Parameters

imageUrl
Type:string
A string with the URL of the checkpoint image. The image must be in PNG format.
imageSize
Type:<a class ='link' href='/Content/api/eyes-sdk/index-gen/class-rectanglesize-images-javascript.htm'>RectangleSize</a> [Optional ]
The size of the image pointed to by the URL. If not provided via this parameter, then the size must be passed using the method imageSize

Return value

Type: <a class ='link' href='/Content/api/eyes-sdk/index-gen/class-checksettings-images-javascript.htm'>ImagesCheckSettings</a>