java-client icon indicating copy to clipboard operation
java-client copied to clipboard

Original error: ffmpeg.exe has not been found in PATH. Please make sure it is installed

Open bhargavkumar-65 opened this issue 3 years ago • 1 comments

Eventhough ffmpeg is installed in System and PATH variable is set, Appium throws this error.

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: ffmpeg.exe has not been found in PATH. Please make sure it is installed

        <dependency>
            <groupId>io.appium</groupId>
            <artifactId>java-client</artifactId>
            <version>7.6.0</version>
        </dependency>
        DesiredCapabilities caps = new DesiredCapabilities();
        caps.setCapability("platformName","windows");
        caps.setCapability("app", "c://MyAppPath//MyApp.exe");
        URL url = new URL("http://127.0.0.1:4727/");
        AppiumDriver driver = new AppiumDriver(url, caps);

image

bhargavkumar-65 avatar Nov 09 '22 16:11 bhargavkumar-65

The PATH in system shell and the one for the test process might differ. Check https://github.com/appium/java-client/blob/master/docs/environment.md for more details

mykola-mokhnach avatar Nov 09 '22 17:11 mykola-mokhnach