frames property

Class: CheckSettingsPlainPlatform: ProtractorLanguage: 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: Element | Selector | string | number;
      scrollRootElement?: Element | Selector;
    }
  | Element
  | Selector
  | string
  | number
)[];

Type definitions

Element
Used to identify an HTML element defined as import('selenium-webdriver').WebElement|import('protractor').ElementFinder.
Selector
Used to identify an HTML element defined as |import('protractor').Locator|{using:string;value:string}|string|{selector:string;type:string}.

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.