L
L
lokool2018-01-10 19:35:17
IntelliJ IDEA
lokool, 2018-01-10 19:35:17

Intelli + Appium what am I prescribing incorrectly?

URL serverUrl = new URL( "http://127.0.0.1:4723/wd/hub");

        DesiredCapabilities capabilities = new DesiredCapabilities();
        capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "iOS");
        capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "9.3");

        capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "iPhone 6");

        capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, "Safari");
        capabilities.setCapability(MobileCapabilityType.FULL_RESET, "true");


        System.out.println("Step1 Create new driver");
        AppiumDriver driver = new IOSDriver(serverUrl,capabilities);
        
        System.out.println("open webbrowser");

        driver.get("https://www.docker.com/");

        System.out.println("Step3 enter email");

        System.out.println("step4 enter password");
        System.out.println("Step5 click login button ");
        driver.quit();

    }
}


org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not get Xcode version. /Library/Developer/Info.plist does not exist on disk. (WARNING: The server did not provide any stacktrace information)

5a5640c2d18a6391413578.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question