@BeforeSuite
    public void setup(){
        try{
            if(System.getProperty("device")!=null){
            if(System.getProperty("device").equalsIgnoreCase("Android"))
                driver = new SwipeableWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), getCapabilities());
            else if(System.getProperty("device").equalsIgnoreCase("Selendroid"))
               driver = new SwipeableWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), getSelendroidCapabilities());
            else if(System.getProperty("device").equalsIgnoreCase("iOS"))
                driver = new SwipeableWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), getIosCapabilities());
            }
        }catch (Exception e){
            e.printStackTrace();
        }
    }