public class UIANavigationBar extends UIAElement implements UIAutomationNavigationBar
UIANavigationBar
class allows access to, and control of, buttons in your app’s navigation bar.Constructor and Description |
---|
UIANavigationBar(String locator) |
Modifier and Type | Method and Description |
---|---|
void |
clickLeftButton(Object... expected)
Click the left button on the navigation bar and optionally waits for the provided expected elements.
|
void |
clickRightButton(Object... expected)
Click the right button on the navigation bar and optionally waits for the provided expected elements.
|
doubleTap, findElement, getBridgeDriver, getLabel, getLocator, getName, getValue, scrollToVisible, setBridgeDriver, setLocator, tap, tapWithOptions, twoFingerTap, waitFor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doubleTap, findElement, getLabel, getLocator, getName, getValue, scrollToVisible, tap, tapWithOptions, twoFingerTap
public UIANavigationBar(String locator)
public void clickLeftButton(Object... expected)
UIAutomationNavigationBar
clickLeftButton
in interface UIAutomationNavigationBar
expected
- Expected entities in the form of objects extending UIAElement
or xpath location in the form of
String
or instances of ExpectedCondition
.public void clickRightButton(Object... expected)
UIAutomationNavigationBar
clickRightButton
in interface UIAutomationNavigationBar
expected
- Expected entities in the form of objects extending UIAElement
or xpath location in the form of
String
or instances of ExpectedCondition
.Copyright © 2016 PayPal Open Source. All rights reserved.