AppiumDriver class in Appium library
AppiumDriver class provides below methods. AndroidDriver and IOSDriver classes inherit this class.
- closeApp – used to close the application under test
- context – used to switch the context from WebView to Native and vice versa
- findElementsByAccessibilityId – used to identify the elements using accessibility id
- getContext – used to get the current context of the App
- getContextHandles – used to get the total number of context handles
- getOrientation – used to get the device orientation – Portrait or Landscape
- getRemoteAddress – used to get the remote address of device
- hideKeyboard – used to hide the keyboard
- installApp – used to install the app on device
- performMultiTouchAction – used to perform multiple touch actions at the same time
Recent Comments