Skip to content

Commit d8d4aea

Browse files
authored
feat: Added descriptions for newly added screenrecord opts (appium#540)
* Add description for newly added opts for screen record * Updates
1 parent 1ae8c25 commit d8d4aea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

appium/webdriver/extensions/screen_record.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ def start_recording_screen(self: T, **options: Any) -> Union[bytes, str]:
5656
bugReport (str): Makes the recorder to display an additional information on the video overlay,
5757
such as a timestamp, that is helpful in videos captured to illustrate bugs.
5858
This option is only supported since API level 27 (Android P).
59+
fileFieldName (str): [multipart/form-data requests] The name of the form field
60+
containing the binary payload. "file" by default. (Since Appium 1.18.0)
61+
formFields (dict): [multipart/form-data requests] Additional form fields mapping. If any entry has
62+
the same key as `fileFieldName` then it is going to be ignored. (Since Appium 1.18.0)
63+
headers (dict): [multipart/form-data requests] Headers mapping (Since Appium 1.18.0)
64+
5965
videoQuality (str): [iOS only] The video encoding quality: 'low', 'medium', 'high', 'photo'. Defaults
6066
to 'medium'.
6167
videoType (str): [iOS only] The format of the screen capture to be recorded.

0 commit comments

Comments
 (0)