-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Is there any way to open notification center and control center on iOS in dart?
I saw perform/touch or swipe operations are not implemented in the package. Is it possible to implement these?
[ ] [HttpMethod.httpPost, 'session/:session_id/touch/perform'] # W3C actions should be an alternative
[ ] [HttpMethod.httpPost, 'session/:session_id/touch/multi/perform'] # W3C actions should be an alternative
How to perform above commands in dart for iOS devices? Need for opening control center and notification center
I tried following commands it is getting executed but nothing happens. I changed the context to NATIVE before executing following commands
await driver.execute("mobile: dragFromToForDuration", [{"duration": 3.0,"fromX":9, "fromY":5, "toX":9,"toY": 700}]);
await driver.execute('mobile: scroll', [{'direction': 'up'}]); - this scroll inside app
With java client I am able to do on same device using following so wanted the similar operation in dart
new TouchAction(driver)
.press(PointOption.point(0, 0))
.waitAction(new WaitOptions().withDuration(Duration.ofMillis(1000)))
.moveTo(PointOption.point(0, 500))
.release()
.perform();
Appium - 1.22.3
Flutter driver - 0.0.36
On android I was able to open notifications center using following command
await driver.execute("mobile: dragGesture", [{"startX":0, "startY":0, "endX":0,"endY": 500}]);