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, waitForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoubleTap, findElement, getLabel, getLocator, getName, getValue, scrollToVisible, tap, tapWithOptions, twoFingerTappublic UIANavigationBar(String locator)
public void clickLeftButton(Object... expected)
UIAutomationNavigationBarclickLeftButton in interface UIAutomationNavigationBarexpected - 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)
UIAutomationNavigationBarclickRightButton in interface UIAutomationNavigationBarexpected - 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.