We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 442e787 commit f8af2e3Copy full SHA for f8af2e3
lib/appium_lib_core/common/base/driver.rb
@@ -281,6 +281,9 @@ def replace_value(element, *value)
281
#
282
# @driver.push_file "/file/to/path", "data"
283
284
+ # file = File.read "your/path/to/test_image.png"
285
+ # @driver.push_file "/sdcard/Pictures", file # Push a file binary to /sdcard/Pictures path in Android
286
+ #
287
def push_file(path, filedata)
288
@bridge.push_file(path, filedata)
289
end
0 commit comments