java-client
java-client copied to clipboard
Recording Screen emulator Appium 2.0 - Method has not yet been implemented
I want to record a video of the emulator screen, and if possible add it to the Allure report. In the documentation I found the recording functions: https://appium.io/docs/en/commands/device/recording-screen/start-recording-screen/ http://appium.io/docs/en/commands/device/recording-screen/stop-recording-screen/ Added to the method before the test @BeforeMethod public void createDriver() throws MalformedURLException { if (driver == null) { driver = Driver.createDriver(); driver.startRecordingScreen(new AndroidStartScreenRecordingOptions()); } }
But I get an error: org.openqa.selenium.UnsupportedCommandException: Method has not yet been implemented
Java: java version "17.0.5" 2022-10-18LTS Java(TM) SE Runtime Environment (build 17.0.5+9-LTS-191) Java HotSpot(TM) 64-Bit Server VM (build 17.0.5+9-LTS-191, mixed mode, sharing)
Appium: appium -v 2.0.0-beta.46 Windows 10 OS node:v16.16.0 android emulator pixel 4 - os android 11
Please provide the full server log