question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

driver.start_recording_screen not working with error : "status":9,"value":{"error":"unknown command","message":"Command not recognized}

See original GitHub issue

Hello, I’m trying to perform a screen record video with the appium driver, and got the following error:

self = <appium.webdriver.errorhandler.MobileErrorHandler object at 0x7ff7717c7c40>
response = {'status': 404, 'value': '{"status":9,"value":{"error":"unknown command","message":"Command not recognized: POST: /session/FA31EAB6-6D10-4777-8C99-51DEAD3FA8E5/appium/start_recording_screen"}}'}

my stack and versions: WindowApplicationDriver==1.2.1 Appium-python-client == 2.2.0 Selenium == 3.4.1 Mac Os

im using the following driver code:

desired_caps = {}
desired_caps["appTopLevelWindow"] = hex(int(newWindowHandle))
desired_caps["platformName"] = "Windows"
desired_caps["deviceName"] = vm_name
driver = webdriver.Remote(WindowsApplicationDriverUrl, desired_caps)

start recording failure appears in this line: driver.start_recording_screen()

any help?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
liljohnakcommented, Oct 20, 2022

We’re using this in our mstestv2 solution. https://ffmpeg.org/ Works well, also provides flexibility to add log files to video. Very handy to debug processes when video has the debug logs.

0reactions
dimag25commented, Oct 20, 2022

thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't play screen recorded video · Issue #11276 · appium ...
Sample code to Start Recording: (driver as IOSDriver).startRecordingScreen( IOSStartScreenRecordingOptions(). withVideoType("h264")). Error :
Read more >
Unable to record screen and get 'Recording isn't working' ...
Press Windows + S key and type CMD and click on Run as Administrator. · Copy and paste this command, then press enter:...
Read more >
Why Is My Screen Recording Not Working And How to Fix ...
When you find that you can't record the screen, go check if you have turned on the Xbox Game Bar or not. Step...
Read more >
[2023 FIXED] Screen Recording Not Working on Windows 10
Are you facing the issue of Windows 10 screen recording not working? If YES, don't worry; this post will walk around the possible...
Read more >
Screen recording is not working in Monterey
If I try to open Quicktime and try screen recording, i get a error saying an erro was found "try to use screen...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found