appium_lib_core 3.0.2 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +7 -2
- data/CHANGELOG.md +9 -0
- data/lib/appium_lib_core.rb +14 -0
- data/lib/appium_lib_core/android.rb +14 -0
- data/lib/appium_lib_core/android/device.rb +14 -0
- data/lib/appium_lib_core/android/device/auth_finger_print.rb +14 -0
- data/lib/appium_lib_core/android/device/clipboard.rb +14 -0
- data/lib/appium_lib_core/android/device/emulator.rb +14 -0
- data/lib/appium_lib_core/android/device/network.rb +14 -0
- data/lib/appium_lib_core/android/device/performance.rb +14 -0
- data/lib/appium_lib_core/android/device/screen.rb +14 -0
- data/lib/appium_lib_core/android/espresso/bridge.rb +14 -0
- data/lib/appium_lib_core/android/uiautomator1/bridge.rb +14 -0
- data/lib/appium_lib_core/android/uiautomator2/bridge.rb +14 -0
- data/lib/appium_lib_core/android/uiautomator2/device.rb +14 -0
- data/lib/appium_lib_core/android/uiautomator2/device/battery.rb +14 -0
- data/lib/appium_lib_core/android_espresso.rb +14 -0
- data/lib/appium_lib_core/android_uiautomator2.rb +14 -0
- data/lib/appium_lib_core/common.rb +14 -0
- data/lib/appium_lib_core/common/base.rb +14 -0
- data/lib/appium_lib_core/common/base/bridge.rb +15 -1
- data/lib/appium_lib_core/common/base/bridge/mjsonwp.rb +14 -0
- data/lib/appium_lib_core/common/base/bridge/w3c.rb +14 -0
- data/lib/appium_lib_core/common/base/capabilities.rb +14 -0
- data/lib/appium_lib_core/common/base/command.rb +14 -0
- data/lib/appium_lib_core/common/base/driver.rb +16 -2
- data/lib/appium_lib_core/common/base/http_default.rb +14 -0
- data/lib/appium_lib_core/common/base/platform.rb +14 -0
- data/lib/appium_lib_core/common/base/screenshot.rb +14 -0
- data/lib/appium_lib_core/common/base/search_context.rb +14 -0
- data/lib/appium_lib_core/common/command.rb +14 -0
- data/lib/appium_lib_core/common/command/common.rb +77 -63
- data/lib/appium_lib_core/common/command/mjsonwp.rb +15 -1
- data/lib/appium_lib_core/common/command/w3c.rb +30 -16
- data/lib/appium_lib_core/common/device/app_management.rb +14 -0
- data/lib/appium_lib_core/common/device/app_state.rb +14 -0
- data/lib/appium_lib_core/common/device/battery_status.rb +14 -0
- data/lib/appium_lib_core/common/device/clipboard_content_type.rb +14 -0
- data/lib/appium_lib_core/common/device/context.rb +14 -0
- data/lib/appium_lib_core/common/device/device.rb +14 -0
- data/lib/appium_lib_core/common/device/device_lock.rb +14 -0
- data/lib/appium_lib_core/common/device/file_management.rb +14 -0
- data/lib/appium_lib_core/common/device/image_comparison.rb +14 -0
- data/lib/appium_lib_core/common/device/ime_actions.rb +14 -0
- data/lib/appium_lib_core/common/device/keyboard.rb +14 -0
- data/lib/appium_lib_core/common/device/keyevent.rb +14 -0
- data/lib/appium_lib_core/common/device/screen_record.rb +14 -0
- data/lib/appium_lib_core/common/device/setting.rb +14 -0
- data/lib/appium_lib_core/common/device/touch_actions.rb +14 -0
- data/lib/appium_lib_core/common/device/value.rb +14 -0
- data/lib/appium_lib_core/common/error.rb +14 -0
- data/lib/appium_lib_core/common/log.rb +14 -0
- data/lib/appium_lib_core/common/logger.rb +14 -0
- data/lib/appium_lib_core/common/touch_action/multi_touch.rb +14 -0
- data/lib/appium_lib_core/common/touch_action/touch_actions.rb +14 -0
- data/lib/appium_lib_core/common/wait.rb +17 -3
- data/lib/appium_lib_core/common/wait/timer.rb +14 -0
- data/lib/appium_lib_core/common/ws/websocket.rb +14 -0
- data/lib/appium_lib_core/device.rb +14 -0
- data/lib/appium_lib_core/driver.rb +22 -2
- data/lib/appium_lib_core/ios.rb +14 -0
- data/lib/appium_lib_core/ios/device.rb +14 -0
- data/lib/appium_lib_core/ios/device/clipboard.rb +14 -0
- data/lib/appium_lib_core/ios/uiautomation/bridge.rb +14 -0
- data/lib/appium_lib_core/ios/uiautomation/device.rb +14 -0
- data/lib/appium_lib_core/ios/uiautomation/patch.rb +14 -0
- data/lib/appium_lib_core/ios/xcuitest/bridge.rb +14 -0
- data/lib/appium_lib_core/ios/xcuitest/device.rb +14 -0
- data/lib/appium_lib_core/ios/xcuitest/device/battery.rb +14 -0
- data/lib/appium_lib_core/ios/xcuitest/device/performance.rb +14 -0
- data/lib/appium_lib_core/ios/xcuitest/device/screen.rb +14 -0
- data/lib/appium_lib_core/ios_xcuitest.rb +14 -0
- data/lib/appium_lib_core/patch.rb +14 -0
- data/lib/appium_lib_core/version.rb +16 -2
- data/release_notes.md +6 -0
- data/script/commands.rb +15 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a14f7937b4a688824874eafff39d449d313b66475efdf69bf1e8e4b860aa04b
|
|
4
|
+
data.tar.gz: 55f0a38b412c86e7d80e64ae4220a09d7abcd0287ecf6d2bd39018501fff7058
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 164a1c0f99fc92989efa2078cb77603a3d92efe1a5170a67e393e826e1e5df5cee2b216e4eef1963fbb1aa393e94a34f17589fd9df32263e73d05a8c83a92aa8
|
|
7
|
+
data.tar.gz: 17115687ad45c9272b31e460f496615725651227050611fd199b76b9de4f72a98543de3115bd74733955742913f79f919aa1c820bb46c1c7f93086cb1cf404d4
|
data/.rubocop.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
AllCops:
|
|
2
|
-
TargetRubyVersion: 2.
|
|
2
|
+
TargetRubyVersion: 2.3
|
|
3
3
|
Metrics/LineLength:
|
|
4
4
|
Max: 128
|
|
5
5
|
Metrics/MethodLength:
|
|
@@ -28,9 +28,14 @@ Style/BracesAroundHashParameters:
|
|
|
28
28
|
Enabled: false
|
|
29
29
|
Style/SymbolArray:
|
|
30
30
|
Enabled: false
|
|
31
|
+
# TODO: will remove after stopping support 2.2
|
|
32
|
+
Style/NumericPredicate:
|
|
33
|
+
Enabled: false
|
|
31
34
|
Naming/AccessorMethodName:
|
|
32
35
|
Enabled: false
|
|
33
36
|
Naming/MemoizedInstanceVariableName:
|
|
34
|
-
Enabled:
|
|
37
|
+
Enabled: true
|
|
38
|
+
Exclude:
|
|
39
|
+
- test/**/*
|
|
35
40
|
Layout/RescueEnsureAlignment:
|
|
36
41
|
Enabled: false
|
data/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,15 @@ Read `release_notes.md` for commit level details.
|
|
|
10
10
|
|
|
11
11
|
### Deprecations
|
|
12
12
|
|
|
13
|
+
## [3.0.3] - 2019-03-11
|
|
14
|
+
|
|
15
|
+
### Enhancements
|
|
16
|
+
- [internal] Bump Rubocop target Ruby version to Ruby 2.3
|
|
17
|
+
|
|
18
|
+
### Bug fixes
|
|
19
|
+
|
|
20
|
+
### Deprecations
|
|
21
|
+
|
|
13
22
|
## [3.0.2] - 2019-03-07
|
|
14
23
|
|
|
15
24
|
### Enhancements
|
data/lib/appium_lib_core.rb
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
require 'selenium-webdriver'
|
|
2
16
|
|
|
3
17
|
require_relative 'appium_lib_core/version'
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
# loaded in common/driver.rb
|
|
2
16
|
require_relative 'android/device'
|
|
3
17
|
require_relative 'android/uiautomator1/bridge'
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
require_relative 'device/emulator'
|
|
2
16
|
require_relative 'device/clipboard'
|
|
3
17
|
require_relative 'device/network'
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
module Android
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
require 'base64'
|
|
2
16
|
|
|
3
17
|
module Appium
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
module Android
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
module Android
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
module Android
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
module Android
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
module Android
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
module Android
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
module Android
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
require_relative 'device/battery'
|
|
2
16
|
|
|
3
17
|
module Appium
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
module Android
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
# loaded in common/driver.rb
|
|
2
16
|
require_relative 'android/device'
|
|
3
17
|
require_relative 'android/espresso/bridge'
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
# loaded in common/driver.rb
|
|
2
16
|
require_relative 'android/device'
|
|
3
17
|
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
require_relative 'common/logger'
|
|
2
16
|
require_relative 'common/error'
|
|
3
17
|
require_relative 'common/log'
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
require_relative 'device/device_lock'
|
|
2
16
|
require_relative 'device/keyboard'
|
|
3
17
|
require_relative 'device/ime_actions'
|
|
@@ -1,9 +1,23 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
class Base
|
|
4
18
|
class Bridge < ::Selenium::WebDriver::Remote::Bridge
|
|
5
19
|
# Prefix for extra capability defined by W3C
|
|
6
|
-
APPIUM_PREFIX = 'appium:'
|
|
20
|
+
APPIUM_PREFIX = 'appium:'
|
|
7
21
|
|
|
8
22
|
# TODO: Remove the forceMjsonwp after Appium server won't need it
|
|
9
23
|
FORCE_MJSONWP = :forceMjsonwp
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
class Base
|
|
@@ -1,3 +1,17 @@
|
|
|
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
|
+
|
|
1
15
|
module Appium
|
|
2
16
|
module Core
|
|
3
17
|
class Base
|