WebElement we = aDriver.findElement(By.xpath("//XCUIElementTypeApplication/XCUIElementTypeWindow[4]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypePicker"));
((MobileElement) we).swipe(SwipeElementDirection.UP, 10);
System.out.println(we.getText());
is not working
Help!