untilSwitchedToFrame
Waits until frame at given index or 'returned by the selector' is available and webdriver has switched to it.
untilSwitchedToFrame(index)
# Or
untilSwitchedToFrame(using, by)
# Or
untilSwitchedToFrame(elemId, using, by)
Uses Element access timeout.
#
Parametersindex
: Zero based index of the desired frame.using
:string
selector used to search the frame. See details of using.by
:by
constant. The type of selector. See details of by.elemId
: Element that must be the parent of the desired frame. Search for the frame starts from here.
#
Returnsboolean
true
if expectation fulfills