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