frame method

Class: WebdriverioCheckSettingsPlatform: WebdriverIO 5Language: JavaScript SDK:

Select a frame that is a direct descendent of a frame selected previously in the chain.

Syntax


eyes.check(Target.frame(frame).frame(frame))

Parameters

frame
Type:Integer|String|By|WebElement|EyesWebElement
A descriptor for the frame.

Return value

Type: WebdriverioCheckSettings
The value returned is the object that called the method. You can use it to call other methods supported by the object class.

Remarks

You may only use this method in the chain if the first method in the chain is frame. You may not call it if the first method in the chain is window or region. Call this method multiple times to descend a hierarchy of embedded frames.