appium_lib_core 4.1.0 → 9.2.1

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.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +352 -270
  3. data/README.md +68 -16
  4. data/Rakefile +8 -20
  5. data/Steepfile +11 -0
  6. data/appium_lib_core.gemspec +13 -15
  7. data/bin/console +0 -4
  8. data/lib/appium_lib_core/android/device/auth_finger_print.rb +4 -1
  9. data/lib/appium_lib_core/android/device/clipboard.rb +4 -2
  10. data/lib/appium_lib_core/android/device/emulator.rb +11 -5
  11. data/lib/appium_lib_core/android/device/network.rb +10 -0
  12. data/lib/appium_lib_core/android/device/performance.rb +3 -0
  13. data/lib/appium_lib_core/android/device/screen.rb +5 -1
  14. data/lib/appium_lib_core/android/device.rb +83 -20
  15. data/lib/appium_lib_core/common/base/bridge.rb +238 -95
  16. data/lib/appium_lib_core/common/base/capabilities.rb +21 -8
  17. data/lib/appium_lib_core/common/{command/mjsonwp.rb → base/device_ime.rb} +33 -12
  18. data/lib/appium_lib_core/common/base/driver.rb +263 -334
  19. data/lib/appium_lib_core/common/base/driver_settings.rb +51 -0
  20. data/lib/appium_lib_core/common/base/has_location.rb +80 -0
  21. data/lib/appium_lib_core/common/base/has_network_connection.rb +56 -0
  22. data/lib/appium_lib_core/common/base/http_default.rb +22 -38
  23. data/lib/appium_lib_core/{ios/uiautomation/bridge.rb → common/base/remote_status.rb} +9 -8
  24. data/lib/appium_lib_core/common/base/rotable.rb +62 -0
  25. data/lib/appium_lib_core/common/base/screenshot.rb +10 -10
  26. data/lib/appium_lib_core/common/base/search_context.rb +98 -172
  27. data/lib/appium_lib_core/common/base.rb +1 -5
  28. data/lib/appium_lib_core/common/command.rb +244 -4
  29. data/lib/appium_lib_core/common/device/app_management.rb +2 -26
  30. data/lib/appium_lib_core/common/device/context.rb +1 -5
  31. data/lib/appium_lib_core/common/device/image_comparison.rb +27 -10
  32. data/lib/appium_lib_core/common/device/keyevent.rb +4 -4
  33. data/lib/appium_lib_core/common/device/{touch_actions.rb → orientation.rb} +6 -10
  34. data/lib/appium_lib_core/common/device/screen_record.rb +8 -2
  35. data/lib/appium_lib_core/common/error.rb +5 -5
  36. data/lib/appium_lib_core/common/log.rb +5 -4
  37. data/lib/appium_lib_core/common/wait.rb +38 -6
  38. data/lib/appium_lib_core/device.rb +3 -9
  39. data/lib/appium_lib_core/driver.rb +207 -164
  40. data/lib/appium_lib_core/{patch.rb → element.rb} +64 -26
  41. data/lib/appium_lib_core/ios/device/clipboard.rb +4 -2
  42. data/lib/appium_lib_core/ios/xcuitest/device.rb +2 -0
  43. data/lib/appium_lib_core/{common/base/command.rb → mac2/bridge.rb} +9 -8
  44. data/lib/appium_lib_core/mac2/device/screen.rb +48 -0
  45. data/lib/appium_lib_core/mac2/device.rb +92 -0
  46. data/lib/appium_lib_core/{ios.rb → mac2.rb} +2 -5
  47. data/lib/appium_lib_core/support/event_firing_bridge.rb +57 -0
  48. data/lib/appium_lib_core/version.rb +2 -2
  49. data/lib/appium_lib_core.rb +23 -10
  50. data/rbs_collection.lock.yaml +252 -0
  51. data/rbs_collection.yaml +15 -0
  52. data/sig/gems/selenium/abstract_event_listener.rbs +8 -0
  53. data/sig/gems/selenium/capabilities.rbs +8 -0
  54. data/sig/gems/selenium/common.rbs +10 -0
  55. data/sig/gems/selenium/default.rbs +10 -0
  56. data/sig/gems/selenium/driver.rbs +7 -0
  57. data/sig/gems/selenium/has_session_id.rbs +8 -0
  58. data/sig/gems/selenium/has_web_storage.rbs +8 -0
  59. data/sig/gems/selenium/uploads_files.rbs +8 -0
  60. data/sig/lib/appium_lib_core/common/base/capabilities.rbs +9 -0
  61. data/sig/lib/appium_lib_core/common/base/driver.rbs +167 -0
  62. data/sig/lib/appium_lib_core/common/base/driver_settings.rbs +15 -0
  63. data/sig/lib/appium_lib_core/common/base/has_location.rbs +13 -0
  64. data/sig/lib/appium_lib_core/common/base/has_network_connection.rbs +19 -0
  65. data/sig/lib/appium_lib_core/common/base/http_default.rbs +38 -0
  66. data/sig/lib/appium_lib_core/common/base/platform.rbs +7 -0
  67. data/sig/lib/appium_lib_core/common/base/remote_status.rbs +9 -0
  68. data/sig/lib/appium_lib_core/common/base/rotable.rbs +17 -0
  69. data/sig/lib/appium_lib_core/common/base/screenshot.rbs +19 -0
  70. data/sig/lib/appium_lib_core/common/device/battery_status.rbs +13 -0
  71. data/sig/lib/appium_lib_core/common/wait.rbs +31 -0
  72. data/sig/lib/appium_lib_core/device.rbs +21 -0
  73. data/sig/lib/appium_lib_core/driver.rbs +200 -0
  74. data/sig/lib/appium_lib_core/ios/xcuitest/device/battery.rbs +15 -0
  75. data/sig/lib/appium_lib_core/version.rbs +7 -0
  76. data/sig/lib/appium_lib_core.rbs +8 -0
  77. metadata +88 -111
  78. data/.github/ISSUE_TEMPLATE/issue-report.md +0 -29
  79. data/.github/contributing.md +0 -26
  80. data/.github/issue_template.md +0 -20
  81. data/.github/workflows/unittest.yml +0 -68
  82. data/.gitignore +0 -18
  83. data/.rubocop.yml +0 -58
  84. data/azure-pipelines.yml +0 -15
  85. data/ci-jobs/functional/android_setup.yml +0 -3
  86. data/ci-jobs/functional/ios_setup.yml +0 -7
  87. data/ci-jobs/functional/publish_test_result.yml +0 -18
  88. data/ci-jobs/functional/run_appium.yml +0 -25
  89. data/ci-jobs/functional/start-emulator.sh +0 -26
  90. data/ci-jobs/functional_test.yml +0 -298
  91. data/docs/mobile_command.md +0 -34
  92. data/lib/appium_lib_core/common/base/bridge/mjsonwp.rb +0 -81
  93. data/lib/appium_lib_core/common/base/bridge/w3c.rb +0 -252
  94. data/lib/appium_lib_core/common/command/common.rb +0 -110
  95. data/lib/appium_lib_core/common/command/w3c.rb +0 -56
  96. data/lib/appium_lib_core/common/device/value.rb +0 -52
  97. data/lib/appium_lib_core/common/touch_action/multi_touch.rb +0 -56
  98. data/lib/appium_lib_core/common/touch_action/touch_actions.rb +0 -203
  99. data/lib/appium_lib_core/ios/uiautomation/device.rb +0 -44
  100. data/lib/appium_lib_core/ios/uiautomation/patch.rb +0 -34
  101. data/release_notes.md +0 -816
  102. data/script/commands.rb +0 -200
@@ -0,0 +1,31 @@
1
+ module Appium
2
+ module Core
3
+ module Wait
4
+ class TimeoutError < StandardError
5
+ end
6
+
7
+ DEFAULT_TIMEOUT: Integer
8
+
9
+ DEFAULT_INTERVAL: Float
10
+
11
+ def self.until: (?timeout: untyped, ?interval: untyped, ?message: untyped?, ?ignored: untyped?, ?object: untyped?) { (untyped) -> untyped } -> untyped
12
+
13
+ def self.until_true: (?timeout: untyped, ?interval: untyped, ?message: untyped?, ?ignored: untyped?, ?object: untyped?) { (untyped) -> untyped } -> untyped
14
+
15
+ private
16
+
17
+ def self.message_for: (untyped timeout, untyped message) -> untyped
18
+ end
19
+
20
+ module Waitable
21
+
22
+ def wait_until_true: (?timeout: untyped?, ?interval: untyped?, ?message: untyped?, ?ignored: untyped?) { (?) -> untyped } -> untyped
23
+
24
+ alias wait_true wait_until_true
25
+
26
+ def wait_until: (?timeout: untyped?, ?interval: untyped?, ?message: untyped?, ?ignored: untyped?) { (?) -> untyped } -> untyped
27
+
28
+ alias wait wait_until
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,21 @@
1
+ module Appium
2
+ module Core
3
+ module Device
4
+ extend Forwardable
5
+
6
+ def self.extended: (untyped _mod) -> untyped
7
+
8
+ def self.add_endpoint_method: (untyped method) ?{ () -> untyped } -> untyped
9
+
10
+ def self.extend_webdriver_with_forwardable: () -> (nil | untyped)
11
+
12
+ private
13
+
14
+ def self.delegate_from_appium_driver: (untyped method, Symbol? delegation_target) -> (nil | untyped)
15
+
16
+ def self.delegate_driver_method: (untyped method) -> (nil | untyped)
17
+
18
+ def self.create_bridge_command: (untyped method) ?{ () -> untyped } -> untyped
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,200 @@
1
+ module Appium
2
+ Location: Class
3
+
4
+ module Core
5
+ module Android
6
+ end
7
+
8
+ module Ios
9
+ end
10
+
11
+ class Options
12
+ @custom_url: String
13
+
14
+ @default_wait: Integer
15
+
16
+ @enable_idempotency_header: bool
17
+
18
+ @direct_connect: bool
19
+
20
+ @port: Integer
21
+
22
+ @wait_timeout: Integer
23
+
24
+ @wait_interval: Integer
25
+
26
+ @listener: Selenium::WebDriver::Support::AbstractEventListener
27
+
28
+ attr_reader custom_url: String
29
+
30
+ attr_reader default_wait: Integer
31
+
32
+ attr_reader port: Integer
33
+
34
+ attr_reader wait_timeout: Integer
35
+
36
+ attr_reader wait_interval: Integer
37
+
38
+ attr_reader listener: Selenium::WebDriver::Support::AbstractEventListener
39
+
40
+ attr_reader direct_connect: bool
41
+
42
+ attr_reader enable_idempotency_header: bool
43
+
44
+ def initialize: (Hash[Symbol, String] appium_lib_opts) -> void
45
+
46
+ private
47
+
48
+ def default_tmp_appium_lib_session: () -> String
49
+ end
50
+
51
+ class DirectConnections
52
+ @protocol: String
53
+
54
+ @host: String
55
+
56
+ @port: String
57
+
58
+ @path: String
59
+
60
+ KEYS: Hash[String | Symbol, String]
61
+
62
+ W3C_KEYS: Hash[String | Symbol, String]
63
+
64
+ attr_reader protocol: String
65
+
66
+ attr_reader host: String
67
+
68
+ attr_reader port: String
69
+
70
+ attr_reader path: String
71
+
72
+ def initialize: (Hash[String | Symbol, String] capabilities) -> void
73
+ end
74
+
75
+ class Driver
76
+ @delegate_target: self
77
+
78
+ @automation_name: Symbol
79
+
80
+ @custom_url: String
81
+
82
+ @caps: Hash[Symbol | String, Symbol | String | Integer]
83
+
84
+ @http_client: Core::Base::Http::Default
85
+
86
+ @driver: Core::Base::Driver
87
+
88
+ @device: Symbol | String
89
+
90
+ @enable_idempotency_header: bool
91
+
92
+ @default_wait: Integer
93
+
94
+ @port: Integer
95
+
96
+ @wait_timeout: Integer
97
+
98
+ @wait_interval: Integer
99
+
100
+ @listener: Selenium::WebDriver::Support::AbstractEventListener
101
+
102
+ @direct_connect: bool
103
+
104
+ include Waitable
105
+
106
+ attr_reader caps: Base::Capabilities
107
+
108
+ attr_reader http_client: Base::Http::Default
109
+
110
+ attr_reader enable_idempotency_header: bool
111
+
112
+ attr_reader device: Symbol
113
+
114
+ attr_reader automation_name: Symbol
115
+
116
+ attr_reader custom_url: String
117
+
118
+ attr_reader default_wait: Integer
119
+
120
+ attr_reader port: Integer
121
+
122
+ DEFAULT_APPIUM_PORT: Integer
123
+
124
+ attr_reader wait_timeout: Integer
125
+
126
+ attr_reader wait_interval: Integer
127
+
128
+ attr_reader listener: Selenium::WebDriver::Support::AbstractEventListener
129
+
130
+ attr_reader driver: Core::Base::Driver
131
+
132
+ attr_reader direct_connect: bool
133
+
134
+ def self.for: (Hash[Symbol, Symbol | String | Hash[Symbol, String | Numeric] | Numeric] opts) -> Driver
135
+
136
+ def self.attach_to: (
137
+ String session_id,
138
+ ?url: String?,
139
+ ?automation_name: Symbol,
140
+ ?platform_name: String?,
141
+ ?http_client_ops:
142
+ Hash[Symbol, Symbol | String | Hash[Symbol, String | Numeric] | Numeric]
143
+ ) -> Selenium::WebDriver
144
+
145
+ private
146
+
147
+ def delegated_target_for_test: () -> self
148
+
149
+ def initialize: () -> void
150
+
151
+ public
152
+
153
+ def setup_for_new_session: (?Hash[Symbol, Symbol | String | Hash[Symbol, String | Numeric] | Numeric] opts) -> self
154
+
155
+ def start_driver: (?server_url: untyped?, ?http_client_ops: ::Hash[untyped, untyped]) -> untyped
156
+
157
+ def attach_to: (untyped session_id, ?url: untyped?, ?automation_name: Symbol, ?platform_name: untyped?, ?http_client_ops: Hash[untyped, untyped]) -> untyped
158
+
159
+ def get_http_client: (?http_client: untyped?, ?open_timeout: untyped?, ?read_timeout: untyped?) -> untyped
160
+
161
+ def set_implicit_wait_by_default: (untyped wait) -> untyped
162
+
163
+ def quit_driver: () -> void
164
+
165
+ def appium_server_version: () -> Hash[String, String]
166
+
167
+ private
168
+
169
+ def convert_to_symbol: (untyped? value) -> Symbol
170
+
171
+ def extend_for: (device: Symbol | String, automation_name: Symbol) -> self
172
+
173
+ extend Core
174
+
175
+ extend Core::Device
176
+
177
+ def get_caps: (Hash[Symbol, Symbol | String | Hash[Symbol, String | Numeric] | Numeric]? opts)
178
+ -> Core::Base::Capabilities
179
+
180
+ def get_appium_lib_opts: (Hash[Symbol, Symbol | String | Hash[Symbol, String | Numeric] | Numeric]? opts)
181
+ -> (Symbol | String | Hash[Symbol, String | Numeric] | Numeric)
182
+
183
+ def get_app: () -> String?
184
+
185
+ def set_app_path: () -> String?
186
+
187
+ def set_appium_lib_specific_values: (
188
+ Hash[Symbol, Symbol | String | Hash[Symbol, String | Numeric] | Numeric]? appium_lib_opts
189
+ ) -> self
190
+
191
+ def set_appium_device: () -> String
192
+
193
+ def set_automation_name: () -> Symbol?
194
+
195
+ def convert_downcase: (Symbol value) -> Symbol
196
+
197
+ def set_automation_name_if_nil: () -> Symbol?
198
+ end
199
+ end
200
+ end
@@ -0,0 +1,15 @@
1
+ module Appium
2
+ module Core
3
+ module Ios
4
+ module Xcuitest
5
+ module Device
6
+ module Battery
7
+ def self.add_methods: () -> (Symbol | Hash[Symbol, Proc])?
8
+
9
+ def battery_info: () -> (Symbol | Hash[Symbol, Proc])?
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,7 @@
1
+ module Appium
2
+ module Core
3
+ VERSION: String
4
+
5
+ DATE: String
6
+ end
7
+ end
@@ -0,0 +1,8 @@
1
+ module Appium
2
+ def self.symbolize_keys: (Hash[untyped, untyped] hash, ?nested: bool, ?enable_deprecation_msg: bool)
3
+ -> Hash[Symbol, untyped]
4
+
5
+ module Core
6
+ def self.for: (*untyped args) -> Driver
7
+ end
8
+ end
metadata CHANGED
@@ -1,35 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 9.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-26 00:00:00.000000000 Z
11
+ date: 2024-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: selenium-webdriver
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '3.14'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 3.14.1
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '3.14'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 3.14.1
33
13
  - !ruby/object:Gem::Dependency
34
14
  name: faye-websocket
35
15
  requirement: !ruby/object:Gem::Requirement
@@ -45,47 +25,33 @@ dependencies:
45
25
  - !ruby/object:Gem::Version
46
26
  version: 0.11.0
47
27
  - !ruby/object:Gem::Dependency
48
- name: bundler
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: '1.14'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: '1.14'
61
- - !ruby/object:Gem::Dependency
62
- name: rake
28
+ name: selenium-webdriver
63
29
  requirement: !ruby/object:Gem::Requirement
64
30
  requirements:
65
31
  - - "~>"
66
32
  - !ruby/object:Gem::Version
67
- version: '13.0'
68
- type: :development
33
+ version: '4.21'
34
+ type: :runtime
69
35
  prerelease: false
70
36
  version_requirements: !ruby/object:Gem::Requirement
71
37
  requirements:
72
38
  - - "~>"
73
39
  - !ruby/object:Gem::Version
74
- version: '13.0'
40
+ version: '4.21'
75
41
  - !ruby/object:Gem::Dependency
76
- name: yard
42
+ name: appium_thor
77
43
  requirement: !ruby/object:Gem::Requirement
78
44
  requirements:
79
45
  - - "~>"
80
46
  - !ruby/object:Gem::Version
81
- version: 0.9.11
47
+ version: '2.0'
82
48
  type: :development
83
49
  prerelease: false
84
50
  version_requirements: !ruby/object:Gem::Requirement
85
51
  requirements:
86
52
  - - "~>"
87
53
  - !ruby/object:Gem::Version
88
- version: 0.9.11
54
+ version: '2.0'
89
55
  - !ruby/object:Gem::Dependency
90
56
  name: minitest
91
57
  requirement: !ruby/object:Gem::Requirement
@@ -115,49 +81,49 @@ dependencies:
115
81
  - !ruby/object:Gem::Version
116
82
  version: '1.1'
117
83
  - !ruby/object:Gem::Dependency
118
- name: webmock
84
+ name: parallel_tests
119
85
  requirement: !ruby/object:Gem::Requirement
120
86
  requirements:
121
- - - "~>"
87
+ - - ">="
122
88
  - !ruby/object:Gem::Version
123
- version: 3.11.0
89
+ version: '0'
124
90
  type: :development
125
91
  prerelease: false
126
92
  version_requirements: !ruby/object:Gem::Requirement
127
93
  requirements:
128
- - - "~>"
94
+ - - ">="
129
95
  - !ruby/object:Gem::Version
130
- version: 3.11.0
96
+ version: '0'
131
97
  - !ruby/object:Gem::Dependency
132
- name: rubocop
98
+ name: rake
133
99
  requirement: !ruby/object:Gem::Requirement
134
100
  requirements:
135
- - - '='
101
+ - - "~>"
136
102
  - !ruby/object:Gem::Version
137
- version: 1.7.0
103
+ version: '13.0'
138
104
  type: :development
139
105
  prerelease: false
140
106
  version_requirements: !ruby/object:Gem::Requirement
141
107
  requirements:
142
- - - '='
108
+ - - "~>"
143
109
  - !ruby/object:Gem::Version
144
- version: 1.7.0
110
+ version: '13.0'
145
111
  - !ruby/object:Gem::Dependency
146
- name: appium_thor
112
+ name: rubocop
147
113
  requirement: !ruby/object:Gem::Requirement
148
114
  requirements:
149
- - - "~>"
115
+ - - '='
150
116
  - !ruby/object:Gem::Version
151
- version: '1.0'
117
+ version: 1.65.1
152
118
  type: :development
153
119
  prerelease: false
154
120
  version_requirements: !ruby/object:Gem::Requirement
155
121
  requirements:
156
- - - "~>"
122
+ - - '='
157
123
  - !ruby/object:Gem::Version
158
- version: '1.0'
124
+ version: 1.65.1
159
125
  - !ruby/object:Gem::Dependency
160
- name: pry
126
+ name: simplecov
161
127
  requirement: !ruby/object:Gem::Requirement
162
128
  requirements:
163
129
  - - ">="
@@ -171,47 +137,47 @@ dependencies:
171
137
  - !ruby/object:Gem::Version
172
138
  version: '0'
173
139
  - !ruby/object:Gem::Dependency
174
- name: pry-byebug
140
+ name: steep
175
141
  requirement: !ruby/object:Gem::Requirement
176
142
  requirements:
177
- - - ">="
143
+ - - "~>"
178
144
  - !ruby/object:Gem::Version
179
- version: '0'
145
+ version: 1.7.0
180
146
  type: :development
181
147
  prerelease: false
182
148
  version_requirements: !ruby/object:Gem::Requirement
183
149
  requirements:
184
- - - ">="
150
+ - - "~>"
185
151
  - !ruby/object:Gem::Version
186
- version: '0'
152
+ version: 1.7.0
187
153
  - !ruby/object:Gem::Dependency
188
- name: parallel_tests
154
+ name: webmock
189
155
  requirement: !ruby/object:Gem::Requirement
190
156
  requirements:
191
- - - ">="
157
+ - - "~>"
192
158
  - !ruby/object:Gem::Version
193
- version: '0'
159
+ version: 3.23.0
194
160
  type: :development
195
161
  prerelease: false
196
162
  version_requirements: !ruby/object:Gem::Requirement
197
163
  requirements:
198
- - - ">="
164
+ - - "~>"
199
165
  - !ruby/object:Gem::Version
200
- version: '0'
166
+ version: 3.23.0
201
167
  - !ruby/object:Gem::Dependency
202
- name: simplecov
168
+ name: yard
203
169
  requirement: !ruby/object:Gem::Requirement
204
170
  requirements:
205
- - - ">="
171
+ - - "~>"
206
172
  - !ruby/object:Gem::Version
207
- version: '0'
173
+ version: 0.9.11
208
174
  type: :development
209
175
  prerelease: false
210
176
  version_requirements: !ruby/object:Gem::Requirement
211
177
  requirements:
212
- - - ">="
178
+ - - "~>"
213
179
  - !ruby/object:Gem::Version
214
- version: '0'
180
+ version: 0.9.11
215
181
  description: Minimal Ruby library for Appium.
216
182
  email:
217
183
  - fly.49.89.over@gmail.com
@@ -219,29 +185,16 @@ executables: []
219
185
  extensions: []
220
186
  extra_rdoc_files: []
221
187
  files:
222
- - ".github/ISSUE_TEMPLATE/issue-report.md"
223
- - ".github/contributing.md"
224
- - ".github/issue_template.md"
225
- - ".github/workflows/unittest.yml"
226
- - ".gitignore"
227
- - ".rubocop.yml"
228
188
  - CHANGELOG.md
229
189
  - Gemfile
230
190
  - LICENSE.txt
231
191
  - README.md
232
192
  - Rakefile
193
+ - Steepfile
233
194
  - Thorfile
234
195
  - appium_lib_core.gemspec
235
- - azure-pipelines.yml
236
196
  - bin/console
237
197
  - bin/setup
238
- - ci-jobs/functional/android_setup.yml
239
- - ci-jobs/functional/ios_setup.yml
240
- - ci-jobs/functional/publish_test_result.yml
241
- - ci-jobs/functional/run_appium.yml
242
- - ci-jobs/functional/start-emulator.sh
243
- - ci-jobs/functional_test.yml
244
- - docs/mobile_command.md
245
198
  - lib/appium_lib_core.rb
246
199
  - lib/appium_lib_core/android.rb
247
200
  - lib/appium_lib_core/android/device.rb
@@ -261,19 +214,19 @@ files:
261
214
  - lib/appium_lib_core/common.rb
262
215
  - lib/appium_lib_core/common/base.rb
263
216
  - lib/appium_lib_core/common/base/bridge.rb
264
- - lib/appium_lib_core/common/base/bridge/mjsonwp.rb
265
- - lib/appium_lib_core/common/base/bridge/w3c.rb
266
217
  - lib/appium_lib_core/common/base/capabilities.rb
267
- - lib/appium_lib_core/common/base/command.rb
218
+ - lib/appium_lib_core/common/base/device_ime.rb
268
219
  - lib/appium_lib_core/common/base/driver.rb
220
+ - lib/appium_lib_core/common/base/driver_settings.rb
221
+ - lib/appium_lib_core/common/base/has_location.rb
222
+ - lib/appium_lib_core/common/base/has_network_connection.rb
269
223
  - lib/appium_lib_core/common/base/http_default.rb
270
224
  - lib/appium_lib_core/common/base/platform.rb
225
+ - lib/appium_lib_core/common/base/remote_status.rb
226
+ - lib/appium_lib_core/common/base/rotable.rb
271
227
  - lib/appium_lib_core/common/base/screenshot.rb
272
228
  - lib/appium_lib_core/common/base/search_context.rb
273
229
  - lib/appium_lib_core/common/command.rb
274
- - lib/appium_lib_core/common/command/common.rb
275
- - lib/appium_lib_core/common/command/mjsonwp.rb
276
- - lib/appium_lib_core/common/command/w3c.rb
277
230
  - lib/appium_lib_core/common/device/app_management.rb
278
231
  - lib/appium_lib_core/common/device/app_state.rb
279
232
  - lib/appium_lib_core/common/device/battery_status.rb
@@ -287,45 +240,69 @@ files:
287
240
  - lib/appium_lib_core/common/device/ime_actions.rb
288
241
  - lib/appium_lib_core/common/device/keyboard.rb
289
242
  - lib/appium_lib_core/common/device/keyevent.rb
243
+ - lib/appium_lib_core/common/device/orientation.rb
290
244
  - lib/appium_lib_core/common/device/screen_record.rb
291
245
  - lib/appium_lib_core/common/device/setting.rb
292
- - lib/appium_lib_core/common/device/touch_actions.rb
293
- - lib/appium_lib_core/common/device/value.rb
294
246
  - lib/appium_lib_core/common/error.rb
295
247
  - lib/appium_lib_core/common/log.rb
296
248
  - lib/appium_lib_core/common/logger.rb
297
- - lib/appium_lib_core/common/touch_action/multi_touch.rb
298
- - lib/appium_lib_core/common/touch_action/touch_actions.rb
299
249
  - lib/appium_lib_core/common/wait.rb
300
250
  - lib/appium_lib_core/common/wait/timer.rb
301
251
  - lib/appium_lib_core/common/ws/websocket.rb
302
252
  - lib/appium_lib_core/device.rb
303
253
  - lib/appium_lib_core/driver.rb
304
- - lib/appium_lib_core/ios.rb
254
+ - lib/appium_lib_core/element.rb
305
255
  - lib/appium_lib_core/ios/device.rb
306
256
  - lib/appium_lib_core/ios/device/clipboard.rb
307
- - lib/appium_lib_core/ios/uiautomation/bridge.rb
308
- - lib/appium_lib_core/ios/uiautomation/device.rb
309
- - lib/appium_lib_core/ios/uiautomation/patch.rb
310
257
  - lib/appium_lib_core/ios/xcuitest/bridge.rb
311
258
  - lib/appium_lib_core/ios/xcuitest/device.rb
312
259
  - lib/appium_lib_core/ios/xcuitest/device/battery.rb
313
260
  - lib/appium_lib_core/ios/xcuitest/device/performance.rb
314
261
  - lib/appium_lib_core/ios/xcuitest/device/screen.rb
315
262
  - lib/appium_lib_core/ios_xcuitest.rb
316
- - lib/appium_lib_core/patch.rb
263
+ - lib/appium_lib_core/mac2.rb
264
+ - lib/appium_lib_core/mac2/bridge.rb
265
+ - lib/appium_lib_core/mac2/device.rb
266
+ - lib/appium_lib_core/mac2/device/screen.rb
267
+ - lib/appium_lib_core/support/event_firing_bridge.rb
317
268
  - lib/appium_lib_core/version.rb
318
269
  - lib/appium_lib_core/windows.rb
319
270
  - lib/appium_lib_core/windows/bridge.rb
320
271
  - lib/appium_lib_core/windows/device.rb
321
272
  - lib/appium_lib_core/windows/device/screen.rb
322
- - release_notes.md
323
- - script/commands.rb
273
+ - rbs_collection.lock.yaml
274
+ - rbs_collection.yaml
275
+ - sig/gems/selenium/abstract_event_listener.rbs
276
+ - sig/gems/selenium/capabilities.rbs
277
+ - sig/gems/selenium/common.rbs
278
+ - sig/gems/selenium/default.rbs
279
+ - sig/gems/selenium/driver.rbs
280
+ - sig/gems/selenium/has_session_id.rbs
281
+ - sig/gems/selenium/has_web_storage.rbs
282
+ - sig/gems/selenium/uploads_files.rbs
283
+ - sig/lib/appium_lib_core.rbs
284
+ - sig/lib/appium_lib_core/common/base/capabilities.rbs
285
+ - sig/lib/appium_lib_core/common/base/driver.rbs
286
+ - sig/lib/appium_lib_core/common/base/driver_settings.rbs
287
+ - sig/lib/appium_lib_core/common/base/has_location.rbs
288
+ - sig/lib/appium_lib_core/common/base/has_network_connection.rbs
289
+ - sig/lib/appium_lib_core/common/base/http_default.rbs
290
+ - sig/lib/appium_lib_core/common/base/platform.rbs
291
+ - sig/lib/appium_lib_core/common/base/remote_status.rbs
292
+ - sig/lib/appium_lib_core/common/base/rotable.rbs
293
+ - sig/lib/appium_lib_core/common/base/screenshot.rbs
294
+ - sig/lib/appium_lib_core/common/device/battery_status.rbs
295
+ - sig/lib/appium_lib_core/common/wait.rbs
296
+ - sig/lib/appium_lib_core/device.rbs
297
+ - sig/lib/appium_lib_core/driver.rbs
298
+ - sig/lib/appium_lib_core/ios/xcuitest/device/battery.rbs
299
+ - sig/lib/appium_lib_core/version.rbs
324
300
  homepage: https://github.com/appium/ruby_lib_core/
325
301
  licenses:
326
302
  - Apache-2.0
327
- metadata: {}
328
- post_install_message:
303
+ metadata:
304
+ rubygems_mfa_required: 'true'
305
+ post_install_message:
329
306
  rdoc_options: []
330
307
  require_paths:
331
308
  - lib
@@ -333,15 +310,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
333
310
  requirements:
334
311
  - - ">="
335
312
  - !ruby/object:Gem::Version
336
- version: '2.4'
313
+ version: '3.0'
337
314
  required_rubygems_version: !ruby/object:Gem::Requirement
338
315
  requirements:
339
316
  - - ">="
340
317
  - !ruby/object:Gem::Version
341
318
  version: '0'
342
319
  requirements: []
343
- rubygems_version: 3.1.2
344
- signing_key:
320
+ rubygems_version: 3.5.9
321
+ signing_key:
345
322
  specification_version: 4
346
323
  summary: Minimal Ruby library for Appium.
347
324
  test_files: []
@@ -1,29 +0,0 @@
1
- ---
2
- name: issue report
3
- about: Create a report to help us improve
4
- title: ''
5
- labels: ''
6
- assignees: ''
7
-
8
- ---
9
-
10
- ## This is a
11
- * [ ] Bug report
12
- * [ ] Question
13
- * [ ] Feature Request
14
-
15
- ## Summary
16
-
17
- ## Environment
18
- * `ruby_lib_core` version:
19
- * Mobile platform/version/device under test:
20
-
21
- ## Actual behaviour and steps to reproduce
22
-
23
- ## Expected behaviour
24
-
25
- ## Link to Appium/Ruby logs
26
-
27
- Create a [GIST](https://gist.github.com) which is a paste of your _full_ Appium logs, and link them here.
28
-
29
- ## Any additional comments