frames property

Class: CheckSettingsPlainPlatform: PuppeteerLanguage: JavaScript SDK:

Define the full frame hierarchy to the direct parent frame of the HTML element to be checked.

Syntax

eyes.check({ frames: value });

Type:

(
  | {
      frame: ElementHandle | Selector | string | number;
      scrollRootElement?: ElementHandle | Selector;
    }
  | ElementHandle
  | Selector
  | string
  | number
)[];

An array of frame elements or frame selectors, as defined by the type, that represent the top to bottom hierarchy of frames to the frame that encloses the region or element to be checked.