Commit 52d6202
feat: Custom commands execution with ICustomDriverCommandExecutor (#965)
* Reuse an Selenium ICustomDriverCommandExecutor in Appium dotnet client with custom commands
Implement #567.
Now Appium dotnet has an interface ICustomDriverCommandExecutor for registering/executing custom commands.
AppiumDriver implements this interface, reusing Selenium’s extensibility.
Users can add custom commands for network, screenshots, preferences, etc..
* CustomDriverCommandExecutor (part 2)
Implement #567 .
Unit Tests were added. Support of AppiumCommandExecutor.
* Update test/integration/CustomCommands/CustomCommandsTests.cs
SaveAsFile(filePath)
Co-authored-by: Copilot <[email protected]>
* Update src/Appium.Net/Appium/AppiumDriver.cs
Co-authored-by: Copilot <[email protected]>
* fix of ExecuteCustomDriverCommand()
* Update src/Appium.Net/Appium/AppiumDriver.cs
formatting fix
Co-authored-by: Kazuaki Matsuo <[email protected]>
* Update src/Appium.Net/Appium/AppiumDriver.cs
formatting fix
Co-authored-by: Kazuaki Matsuo <[email protected]>
* new changes in CustomCommandsTests
Accordinf to Dor-bl review.
* Added a new name of custom command
According to KazuCocoa comment.
* Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
* Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
* Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
* Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
* Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Kazuaki Matsuo <[email protected]>1 parent b3ebc07 commit 52d6202
File tree
3 files changed
+118
-10
lines changed- src/Appium.Net/Appium
- Android
- test/integration/CustomCommands
3 files changed
+118
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
| 428 | + | |
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | | - | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| 148 | + | |
| 149 | + | |
146 | 150 | | |
147 | 151 | | |
148 | 152 | | |
| 153 | + | |
| 154 | + | |
149 | 155 | | |
150 | 156 | | |
151 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
152 | 161 | | |
153 | 162 | | |
154 | | - | |
| 163 | + | |
155 | 164 | | |
156 | 165 | | |
157 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
158 | 196 | | |
159 | 197 | | |
160 | 198 | | |
| |||
190 | 228 | | |
191 | 229 | | |
192 | 230 | | |
193 | | - | |
| 231 | + | |
| 232 | + | |
194 | 233 | | |
195 | 234 | | |
196 | 235 | | |
197 | | - | |
198 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
199 | 240 | | |
200 | 241 | | |
201 | 242 | | |
| |||
228 | 269 | | |
229 | 270 | | |
230 | 271 | | |
231 | | - | |
| 272 | + | |
232 | 273 | | |
233 | 274 | | |
234 | 275 | | |
| |||
414 | 455 | | |
415 | 456 | | |
416 | 457 | | |
417 | | - | |
| 458 | + | |
| 459 | + | |
418 | 460 | | |
419 | 461 | | |
420 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
0 commit comments