Example #1
0
 @AfterMethod(alwaysRun = true)
 public void tearDown() throws Exception {
   driver.quit();
   AppiumServerUtils.getInstance().stopServer();
 }
Example #2
0
 @BeforeClass(alwaysRun = true)
 public void startAppiumServer() throws IOException, InterruptedException {
   url = AppiumServerUtils.getInstance().startServer("127.0.0.1", 4723);
 }