frames property

Class: CheckSettingsPlainPlatform: Selenium 4Language: 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: WebElement | Selector | string | number;
      scrollRootElement?: WebElement | Selector;
    }
  | WebElement
  | Selector
  | string
  | number
)[];

Type definitions

Selector
Used to identify an HTML element defined as |import('selenium-webdriver').Locator|{using:string;value:string}|string|{selector:string;type:string}.
Selector
Used to identify an HTML element defined as |import('selenium-webdriver').Locator|{using:string;value:string}|string|{selector:string;type:string}.
Selector
Used to identify an HTML element defined as |import('selenium-webdriver').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.