@@ -20,26 +20,6 @@ module Device
2020 class << self
2121 def extended ( _mod )
2222 extend_webdriver_with_forwardable
23-
24- # Compatibility for appium_lib. Below command are extended by `extend Appium::Core::Deivce`in appium_lib.
25- # TODO: Will remove
26- [
27- :take_element_screenshot , :save_viewport_screenshot ,
28- :lock , :device_locked? , :unlock ,
29- :hide_keyboard , :is_keyboard_shown ,
30- :ime_activate , :ime_available_engines , :ime_active_engine , :ime_activated , :ime_deactivate ,
31- :get_settings , :update_settings ,
32- :within_context , :current_context , :available_contexts , :set_context ,
33- :push_file , :pull_file , :pull_folder ,
34- :keyevent , :press_keycode , :long_press_keycode ,
35- :match_images_features , :find_image_occurrence , :get_images_similarity , :compare_images ,
36- :app_strings , :background_app ,
37- :install_app , :remove_app , :app_installed? , :activate_app , :terminate_app ,
38- :app_state ,
39- :stop_recording_screen , :stop_and_save_recording_screen ,
40- :shake , :device_time ,
41- :execute_driver , :execute_cdp
42- ] . each ( &method ( :delegate_from_appium_driver ) )
4323 end
4424
4525 # def extended
0 commit comments