Sha256: 3531d2750bbaf4d8f91d5731c045476ee2cf3a83a5cc4097124b5eacd50f4c8a

Contents?: true

Size: 1000 Bytes

Versions: 12

Compression:

Stored size: 1000 Bytes

Contents

# frozen_string_literal: true

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

module Appium
  module Core
    module Commands
      module MJSONWP
        COMMANDS = ::Appium::Core::Commands::COMMANDS.merge(::Appium::Core::Base::Commands::OSS).merge(
          {
            # W3C already has.
            take_element_screenshot:    [:get, 'session/:session_id/element/:id/screenshot']
          }
        ).freeze
      end # module MJSONWP
    end # module Commands
  end # module Core
end # Appium

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
appium_lib_core-4.7.1 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.7.0 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.6.0 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.5.0 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.4.1 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.4.0 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.3.1 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.3.0 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.2.1 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.2.0 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.1.1 lib/appium_lib_core/common/command/mjsonwp.rb
appium_lib_core-4.1.0 lib/appium_lib_core/common/command/mjsonwp.rb