Skip to content

Commit edbd74f

Browse files
Add example for screenshot
1 parent 73fcb72 commit edbd74f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/appium_lib/driver.rb

+2
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ def driver
285285

286286
# Takes a png screenshot and saves to the target path.
287287
#
288+
# Example: screenshot '/tmp/hi.png'
289+
#
288290
# @param png_save_path [String] the full path to save the png
289291
# @return [void]
290292
def screenshot png_save_path

0 commit comments

Comments
 (0)