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.
Parameters#
index: Zero based index of the desired frame.using:stringselector used to search the frame. See details of using.by:byconstant. 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.
Returns#
booleantrueif expectation fulfills