appium_lib_core 4.7.1 → 5.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/unittest.yml +2 -2
- data/CHANGELOG.md +9 -13
- data/README.md +1 -2
- data/Rakefile +0 -4
- data/appium_lib_core.gemspec +4 -4
- data/ci-jobs/functional_test.yml +1 -1
- data/lib/appium_lib_core/common/base/bridge/w3c.rb +98 -15
- data/lib/appium_lib_core/common/base/bridge.rb +17 -102
- data/lib/appium_lib_core/common/base/capabilities.rb +3 -3
- data/lib/appium_lib_core/common/base/command.rb +123 -2
- data/lib/appium_lib_core/common/base/driver.rb +42 -88
- data/lib/appium_lib_core/common/base/has_location.rb +4 -11
- data/lib/appium_lib_core/common/base/has_network_connection.rb +56 -0
- data/lib/appium_lib_core/common/base.rb +0 -1
- data/lib/appium_lib_core/common/command.rb +0 -1
- data/lib/appium_lib_core/common/error.rb +1 -4
- data/lib/appium_lib_core/device.rb +0 -4
- data/lib/appium_lib_core/driver.rb +4 -4
- data/lib/appium_lib_core/version.rb +2 -2
- data/release_notes.md +0 -33
- data/script/commands.rb +2 -25
- metadata +18 -25
- data/lib/appium_lib_core/common/base/bridge/mjsonwp.rb +0 -108
- data/lib/appium_lib_core/common/command/mjsonwp.rb +0 -28
@@ -1,28 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
module Appium
|
16
|
-
module Core
|
17
|
-
module Commands
|
18
|
-
module MJSONWP
|
19
|
-
COMMANDS = ::Appium::Core::Commands::COMMANDS.merge(::Appium::Core::Base::Commands::OSS).merge(
|
20
|
-
{
|
21
|
-
# W3C already has.
|
22
|
-
take_element_screenshot: [:get, 'session/:session_id/element/:id/screenshot']
|
23
|
-
}
|
24
|
-
).freeze
|
25
|
-
end # module MJSONWP
|
26
|
-
end # module Commands
|
27
|
-
end # module Core
|
28
|
-
end # Appium
|