add clipboard api - #69
Conversation
| end | ||
|
|
||
| def add_clipboard | ||
| add_endpoint_method(:get_clipboard) do |
There was a problem hiding this comment.
I'd rather have separate set of methods for Android and iOS
android only can get/set string content, so there will be methods like set_clipboard_text and get_clipboard_text
in iOS one could also add set_clipboard_image/get_clipboard_image and get/set_clipboard_url
all methods should perform base64 to string encoding/decoding automatically.
There was a problem hiding this comment.
ah, I see. 👍
I haven't stepped into details yet.
thanks!
| # | ||
| # @example | ||
| # | ||
| # @driver.get_performance_data package_name: package_name, data_type: data_type, data_read_timeout: 2 |
|
When I tried to clipbord for uia2, I faced Otherwise, I'll merge this PR since the client-side works well. |
|
I've fixed the android issue and I've confirmed the ruby client works fine. merge. |
https://github.com/appium/appium-base-driver/pull/199/files
TODO
note: for android
note: for iOS