Skip to content

Commit

Permalink
Remove duplicated remote status (#28)
Browse files Browse the repository at this point in the history
* remove duplicated remote status method
  • Loading branch information
KazuCocoa authored Nov 18, 2017
1 parent fcb64b7 commit 7de2e89
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/appium_lib_core/common/device.rb
Original file line number Diff line number Diff line change
Expand Up @@ -329,13 +329,6 @@ def extended(_mod)
add_endpoint_method method
end

# call http://www.rubydoc.info/gems/selenium-webdriver/Selenium/WebDriver/DriverExtensions/HasRemoteStatus#remote_status-instance_method
add_endpoint_method(:remote_status) do
def remote_status
execute(:status, {}) || []
end
end

# Don't define selenium-side methods. We pick up from them.
# ::Appium::Core::Base::Commands::MJSONWP.each_key do |method|
# add_endpoint_method method
Expand Down

0 comments on commit 7de2e89

Please sign in to comment.