AvoidableElement
Each case relates to element of user interface that can overlap scrollable area.
navigationBar
: equivalent ofUINavigationBar
.keyboard
: equivalent ofUIKeyboard
.other(XCUIElement, CGRectEdge)
: equivalent of user definedXCUIElement
withCGRectEdge
on which it appears. If more than one navigation bar or any other predefinedAvoidableElement
is expected, use.other
case. Predefined cases assume there is only one element of their type.
-
Equivalent of
UINavigationBar
. -
Equivalent of
UIKeyboard
. -
Equivalent of user defined
XCUIElement
withCGRectEdge
on which it appears.