The information in this topic may be out of date. The current SDK reference guide has moved here.

frames property

Class: CheckSettingsPlainPlatform: PlaywrightLanguage: JavaScript SDK:

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


eyes.check({ frames: value });


  | {
      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.