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:IWebElement
- 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.