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:RectangleSize [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: ImagesCheckSettings