Dimension size = driver.manage().window().getSize()//Find swipe start and end point from screen’s with and height.//Find startx point…
Answer:
Having Appium 1.9.0 out, we find it to be a feature release, comprising multiple updates. Some of the key features brought forward in this release update are:
To grant all permission for your application(Android) you can add:
capabilities.setCapability(“autoGrantPermissions”,true)
Reference: (Click Here)
//Here we have Initialized driver as AppiumDriver
driver.findElement(By.id(“doc.saulmm.notification:id/simple_notification”)).click();