java-client
java-client copied to clipboard
Original error: ffmpeg.exe has not been found in PATH. Please make sure it is installed
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);

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