You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take a screenshot to assist the user in debugging or designing an app. They may need help with moving a screen element, or interacting in some way where you could do with seeing the screen.
19
-
Optionally, resize the image using the `sips` cli tool. You may do this fs there is potential for error in the payload size.
16
+
Take a screenshot to assist the user in debugging or designing an app. They may need
17
+
help with moving a screen element, or interacting in some way where you could do with
18
+
seeing the screen.
20
19
21
20
Args:
22
21
display (int): Display to take the screen shot in. Default is the main display (1). Must be a value greater than 1.
23
-
resize (bool): Boolean parameter to resize the image or not. No resizing by default.
24
-
target_size (int): Target file size in MB. Default is 4.
25
-
Return:
26
-
(str) a path to the screenshot file, in the format of image: followed by the path to the file.
0 commit comments