public class UiSwitch extends UiObject implements MobileSwitch
UIASwitch
class allows access to, and control of, switch elements in your app.Modifier and Type | Method and Description |
---|---|
void |
changeValue()
Toggles the state of the switch.
|
clearText, click, clickBottomRight, clickTopLeft, findElement, getBridgeDriver, getLocator, getText, getValue, isCheckable, isChecked, isClickable, isEnabled, isFocusable, isFocused, isLongClickable, isScrollable, isSelected, longClick, longClickBottomRight, longClickTopLeft, setText, swipeDown, swipeLeft, swipeRight, swipeUp, tap, waitFor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findElement, getLocator, getValue, tap
public UiSwitch(String locator)
public void changeValue()
MobileSwitch
changeValue
in interface MobileSwitch
Copyright © 2016 PayPal Open Source. All rights reserved.