AndroidDriver class in Appium
AndroidDriver class provides below methods in Appium.
- swipe – swipes the app from point A to point B
- findElementsByAndroidUIAutomator
- context – used to switch contexts
- currentActivity – gets the current activity of app
- pressKeyCode – used to press the Key code
- longPressKeyCode – used to long press key code
- closeApp – closes down the app
- launchApp – launches app
- isLocked – checks if device is locked
- lockDevice – locks the device
- zoom – zooms the particular point on the screen
- tap – taps on specific element or location on screen
- openNotifications – opens notification screen
- startActivity – starts the activity in app
- rotate – roatates the screen orientation – landscape or protrait
- resetApp – resets the App
- pinch – pinches the screen location
- installApp – installs the app on device
Recent Comments