@Override
    protected WebDriver getWebDriver(TestCase test) {
        ChromeOptions options = new ChromeOptions();

        options.addArguments("user-agent=Mozilla/5.0 (Linux; U; Android 2.1-update1; de-de; HTC Desire 1.19.161.5 Build/ERE27) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17");
        
        if (test.getProxy() != null && !test.getProxy().equals("")) {
            if (test.getProxy().endsWith(".pac") || test.getProxy().endsWith(".js"))
                options.addArguments("proxy-pac-url=" + test.getProxy());
            else
                options.addArguments("proxy-server=" + test.getProxy());
        }

        return new ChromeDriver(options);
    }