public class UIASwitch extends UIAElement implements UIAutomationSwitch, 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.
|
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
findElement, getLocator, getValue, tap
public UIASwitch(String locator)
public void changeValue()
UIAutomationSwitch
changeValue
in interface MobileSwitch
changeValue
in interface UIAutomationSwitch
Copyright © 2016 PayPal Open Source. All rights reserved.