frame method

Class: TargetPlatform: Selenium 3Language: JavaScript SDK:

Configure check to match an iframe in a window or another iframe.

You may only address one frame using this method. This may be a nested frame, but you should use the Selenium driver returned by the open() call to navigate to the correct frame.

Syntax


eyes.check(Target.frame(frame))

Parameters

frame
Type:EyesRemoteWebElement|webdriver.WebElement|string
The element that contains the frame to be checked.

Return value

Type: Target