frame method
Select a frame that is a direct descendent of a frame selected previously in the chain.
Syntax
eyes.check(Target.frame(by).frame(by))
eyes.check(Target.frame(by).frame(frameNameOrId))
eyes.check(Target.frame(by).frame(index))
eyes.check(Target.frame(by).frame(frameReference))
Parameters
- by
- Type:By
- Any legal Selenium By request.
- frameNameOrId
- Type:String
- The name or id of the frame element.
- index
- Type:int
- The index of the frame element as defined by Selenium.
- frameReference
- Type:WebElement
- A Selenium reference to the frame element. This can be anything acceptable to the Selenium switch to frame method.
Return value
- Type: SeleniumCheckSettings
- The value returned is the object that called the method. You can use it to call other methods supported by the object class.