From be39a9dfc34b642547c6403c33a6f0dca767eb26 Mon Sep 17 00:00:00 2001 From: Lychee <61500635+Lychee-acaca@users.noreply.github.com> Date: Thu, 11 Dec 2025 11:43:21 -0500 Subject: [PATCH] Fix bitRate unit in screen_record.py --- appium/webdriver/extensions/screen_record.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appium/webdriver/extensions/screen_record.py b/appium/webdriver/extensions/screen_record.py index 11e26c41..07c9b2ba 100644 --- a/appium/webdriver/extensions/screen_record.py +++ b/appium/webdriver/extensions/screen_record.py @@ -126,8 +126,8 @@ def start_recording_screen(self, **options: Any) -> Union[bytes, str]: The default value is the device's native display resolution (if supported), 1280x720 if not. For best results, use a size supported by your device's Advanced Video Coding (AVC) encoder. - bitRate (int): [Android] The video bit rate for the video, in megabits per second. - The default value is 4. You can increase the bit rate to improve video quality, + bitRate (int): [Android] The video bit rate for the video, in bits per second. + The default value is 4000000 (4 Mbit/s). You can increase the bit rate to improve video quality, but doing so results in larger movie files. bugReport (str): [Android] Makes the recorder to display an additional information on the video overlay, such as a timestamp, that is helpful in videos captured to illustrate bugs.