appium 2.0.0-beta.45 → 2.0.0-beta.47

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 (138) hide show
  1. package/README.md +145 -44
  2. package/build/lib/appium.d.ts +3 -103
  3. package/build/lib/appium.d.ts.map +1 -1
  4. package/build/lib/appium.js +679 -549
  5. package/build/lib/appium.js.map +1 -1
  6. package/build/lib/cli/args.js +247 -127
  7. package/build/lib/cli/args.js.map +1 -1
  8. package/build/lib/cli/driver-command.js +63 -88
  9. package/build/lib/cli/driver-command.js.map +1 -1
  10. package/build/lib/cli/extension-command.d.ts +32 -23
  11. package/build/lib/cli/extension-command.d.ts.map +1 -1
  12. package/build/lib/cli/extension-command.js +730 -512
  13. package/build/lib/cli/extension-command.js.map +1 -1
  14. package/build/lib/cli/extension.d.ts +5 -4
  15. package/build/lib/cli/extension.d.ts.map +1 -1
  16. package/build/lib/cli/extension.js +68 -65
  17. package/build/lib/cli/extension.js.map +1 -1
  18. package/build/lib/cli/parser.d.ts +3 -3
  19. package/build/lib/cli/parser.d.ts.map +1 -1
  20. package/build/lib/cli/parser.js +234 -192
  21. package/build/lib/cli/parser.js.map +1 -1
  22. package/build/lib/cli/plugin-command.js +58 -87
  23. package/build/lib/cli/plugin-command.js.map +1 -1
  24. package/build/lib/cli/utils.js +66 -69
  25. package/build/lib/cli/utils.js.map +1 -1
  26. package/build/lib/config-file.d.ts.map +1 -1
  27. package/build/lib/config-file.js +189 -120
  28. package/build/lib/config-file.js.map +1 -1
  29. package/build/lib/config.d.ts.map +1 -1
  30. package/build/lib/config.js +254 -213
  31. package/build/lib/config.js.map +1 -1
  32. package/build/lib/constants.d.ts +5 -5
  33. package/build/lib/constants.d.ts.map +1 -1
  34. package/build/lib/constants.js +64 -59
  35. package/build/lib/constants.js.map +1 -1
  36. package/build/lib/extension/driver-config.js +199 -164
  37. package/build/lib/extension/driver-config.js.map +1 -1
  38. package/build/lib/extension/extension-config.d.ts +18 -16
  39. package/build/lib/extension/extension-config.d.ts.map +1 -1
  40. package/build/lib/extension/extension-config.js +523 -396
  41. package/build/lib/extension/extension-config.js.map +1 -1
  42. package/build/lib/extension/index.js +98 -68
  43. package/build/lib/extension/index.js.map +1 -1
  44. package/build/lib/extension/manifest-migrations.d.ts +27 -0
  45. package/build/lib/extension/manifest-migrations.d.ts.map +1 -0
  46. package/build/lib/extension/manifest-migrations.js +99 -0
  47. package/build/lib/extension/manifest-migrations.js.map +1 -0
  48. package/build/lib/extension/manifest.d.ts +7 -56
  49. package/build/lib/extension/manifest.d.ts.map +1 -1
  50. package/build/lib/extension/manifest.js +432 -240
  51. package/build/lib/extension/manifest.js.map +1 -1
  52. package/build/lib/extension/package-changed.js +57 -61
  53. package/build/lib/extension/package-changed.js.map +1 -1
  54. package/build/lib/extension/plugin-config.d.ts +2 -3
  55. package/build/lib/extension/plugin-config.d.ts.map +1 -1
  56. package/build/lib/extension/plugin-config.js +94 -70
  57. package/build/lib/extension/plugin-config.js.map +1 -1
  58. package/build/lib/grid-register.js +119 -137
  59. package/build/lib/grid-register.js.map +1 -1
  60. package/build/lib/logger.d.ts +1 -1
  61. package/build/lib/logger.d.ts.map +1 -1
  62. package/build/lib/logger.js +5 -15
  63. package/build/lib/logger.js.map +1 -1
  64. package/build/lib/logsink.d.ts.map +1 -1
  65. package/build/lib/logsink.js +189 -183
  66. package/build/lib/logsink.js.map +1 -1
  67. package/build/lib/main.d.ts +19 -12
  68. package/build/lib/main.d.ts.map +1 -1
  69. package/build/lib/main.js +330 -304
  70. package/build/lib/main.js.map +1 -1
  71. package/build/lib/schema/arg-spec.js +153 -108
  72. package/build/lib/schema/arg-spec.js.map +1 -1
  73. package/build/lib/schema/cli-args.js +203 -164
  74. package/build/lib/schema/cli-args.js.map +1 -1
  75. package/build/lib/schema/cli-transformers.js +117 -72
  76. package/build/lib/schema/cli-transformers.js.map +1 -1
  77. package/build/lib/schema/index.js +17 -32
  78. package/build/lib/schema/index.js.map +1 -1
  79. package/build/lib/schema/keywords.js +125 -67
  80. package/build/lib/schema/keywords.js.map +1 -1
  81. package/build/lib/schema/schema.d.ts.map +1 -1
  82. package/build/lib/schema/schema.js +582 -417
  83. package/build/lib/schema/schema.js.map +1 -1
  84. package/build/lib/utils.d.ts +41 -255
  85. package/build/lib/utils.d.ts.map +1 -1
  86. package/build/lib/utils.js +342 -193
  87. package/build/lib/utils.js.map +1 -1
  88. package/build/tsconfig.tsbuildinfo +1 -1
  89. package/build/types/cli.d.ts +45 -34
  90. package/build/types/cli.d.ts.map +1 -1
  91. package/build/types/cli.js +3 -0
  92. package/build/types/cli.js.map +1 -0
  93. package/build/types/index.d.ts +1 -2
  94. package/build/types/index.d.ts.map +1 -1
  95. package/build/types/index.js +19 -0
  96. package/build/types/index.js.map +1 -0
  97. package/build/types/manifest/base.d.ts +135 -0
  98. package/build/types/manifest/base.d.ts.map +1 -0
  99. package/build/types/manifest/base.js +3 -0
  100. package/build/types/manifest/base.js.map +1 -0
  101. package/build/types/manifest/index.d.ts +19 -0
  102. package/build/types/manifest/index.d.ts.map +1 -0
  103. package/build/types/manifest/index.js +40 -0
  104. package/build/types/manifest/index.js.map +1 -0
  105. package/build/types/manifest/v3.d.ts +139 -0
  106. package/build/types/manifest/v3.d.ts.map +1 -0
  107. package/build/types/manifest/v3.js +3 -0
  108. package/build/types/manifest/v3.js.map +1 -0
  109. package/lib/appium.js +1 -1
  110. package/lib/cli/args.js +1 -1
  111. package/lib/cli/extension-command.js +116 -61
  112. package/lib/cli/extension.js +9 -8
  113. package/lib/cli/parser.js +2 -2
  114. package/lib/config-file.js +2 -3
  115. package/lib/config.js +3 -2
  116. package/lib/constants.js +6 -5
  117. package/lib/extension/extension-config.js +24 -25
  118. package/lib/extension/manifest-migrations.js +99 -0
  119. package/lib/extension/manifest.js +79 -72
  120. package/lib/extension/plugin-config.js +1 -2
  121. package/lib/logsink.js +26 -5
  122. package/lib/main.js +58 -50
  123. package/lib/schema/schema.js +6 -1
  124. package/lib/utils.js +62 -0
  125. package/package.json +23 -24
  126. package/scripts/autoinstall-extensions.js +78 -26
  127. package/types/cli.ts +81 -42
  128. package/types/index.ts +1 -2
  129. package/types/manifest/README.md +30 -0
  130. package/types/manifest/base.ts +158 -0
  131. package/types/manifest/index.ts +27 -0
  132. package/types/manifest/v3.ts +161 -0
  133. package/build/types/appium-manifest.d.ts +0 -59
  134. package/build/types/appium-manifest.d.ts.map +0 -1
  135. package/build/types/extension-manifest.d.ts +0 -55
  136. package/build/types/extension-manifest.d.ts.map +0 -1
  137. package/types/appium-manifest.ts +0 -73
  138. package/types/extension-manifest.ts +0 -64
package/README.md CHANGED
@@ -1,50 +1,160 @@
1
1
  ## Appium
2
2
 
3
3
  [![NPM version](https://badge.fury.io/js/appium.svg)](https://npmjs.org/package/appium)
4
- [![Node.js CI](https://github.com/appium/appium/actions/workflows/node.js.yml/badge.svg?branch=2.0)](https://github.com/appium/appium/actions/workflows/node.js.yml)
5
-
6
4
  [![Monthly Downloads](https://img.shields.io/npm/dm/appium.svg)](https://npmjs.org/package/appium)
7
5
 
8
6
  [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fappium%2Fappium.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fappium%2Fappium?ref=badge_shield)
9
7
 
8
+ [![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://github.com/vshymanskyy/StandWithUkraine/)
9
+
10
+ [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/)
11
+
10
12
  Appium is an open-source, cross-platform test automation tool for native,
11
- hybrid, and mobile web and desktop apps. We support simulators (iOS), emulators
12
- (Android), and real devices (iOS, Android, Windows, Mac).
13
+ hybrid, mobile web and desktop apps. Initially created to automate iOS and Android mobile
14
+ applications Appium has grown to a full-featured platform that provides [WebDriver](https://www.w3.org/TR/webdriver/)-based automation possibilities for the whole set of different mobile and desktop platforms.
15
+ See [Drivers Maintained By The Appium Team](#drivers-maintained-by-the-appium-team)
16
+ and [Drivers Provided By Third Parties](#drivers-provided-by-third-parties) sections below for more details.
17
+
18
+ :bangbang: Major documentation revision in progress
19
+
20
+ :bangbang: Appium core team does not maintain Appium 1.x anymore since the 1st of January 2022. All recent versions of officially supported platform drivers are not compatible to Appium 1.x anymore, and require Appium 2 to run. [Please read the migration guide from 1.x to 2.0](https://github.com/appium/appium/blob/master/packages/appium/docs/en/guides/migrating-1-to-2.md) to manage the Appium server.
21
+
22
+ Appium is in the final stages of a major revision (to version 2.0). As such, the documentation
23
+ found around the web may not be correct. The current Appium 2.0 documentation is very much in
24
+ progress. Currently, it can be found [here](https://appium.github.io/appium/docs/en/2.0/).
25
+
26
+ ### Requirements
27
+
28
+ - macOS, Linux or Windows operating system
29
+ - Node.js 14+
30
+ - NPM (Node Package Manager) 8+
31
+
32
+ These are only server requirements. Each driver might have its own requirements. Consider checking the corresponding driver tutorial for more details.
13
33
 
14
- Want to skip straight to the action? Check out our [getting
15
- started](/docs/en/about-appium/getting-started.md) doc.
34
+ ### Server
16
35
 
17
- ### Supported Platforms
36
+ To install Appium 2 server using Node Package Manager (npm) run the following command:
37
+
38
+ ```bash
39
+ npm install -g appium@next
40
+ ```
41
+
42
+ :bangbang: Running `npm install -g appium` would still install Appium 1 because version 2 is in its late beta stage.
43
+
44
+ ### Drivers
18
45
 
19
46
  Appium supports app automation across a variety of platforms, like iOS,
20
47
  Android, and Windows. Each platform is supported by one or more "drivers",
21
- which know how to automate that particular platform. Choose a driver below for
22
- specific information about how that driver works and how to set it up:
23
-
24
- * iOS
25
- * The [XCUITest Driver](/docs/en/drivers/ios-xcuitest.md)
26
- * (DEPRECATED) The [UIAutomation Driver](/docs/en/drivers/ios-uiautomation.md)
27
- * Android
28
- * The [Espresso Driver](/docs/en/drivers/android-espresso.md)
29
- * The [UiAutomator2 Driver](/docs/en/drivers/android-uiautomator2.md)
30
- * (DEPRECATED) The [UiAutomator Driver](/docs/en/drivers/android-uiautomator.md)
31
- * The [Windows Driver](/docs/en/drivers/windows.md) (for Windows Desktop apps)
32
- * The [Mac Driver](/docs/en/drivers/mac.md) (for Mac Desktop apps)
48
+ which know how to automate that particular platform. Since version 2.0
49
+ all drivers have been isolated from the Appium server app and can
50
+ be managed independently using the [appium driver](https://appiumpro.com/editions/122-installing-appium-20-and-the-driver-and-plugins-cli) command line interface.
51
+
52
+ In general, the drivers management in Appium 2 is as simple as:
53
+
54
+ ```bash
55
+ # To install a new driver from npm
56
+ appium driver install --source=npm appium-xcuitest-driver[@<version>]
57
+ # To install a driver from a local folder (useful for developers)
58
+ appium driver install --source=local /Users/me/sources/appium-xcuitest-driver
59
+ # To install a new driver from github (hm, maybe it's time to publish it to NPM?)
60
+ appium driver install --source=github appium/appium-xcuitest-driver
61
+
62
+ # To list already installed drivers
63
+ appium driver list --installed
64
+
65
+ # To update a driver (it must be already installed)
66
+ appium driver update xcuitest
67
+
68
+ # To uninstall a driver (it won't last forever, wouldn't it?)
69
+ appium driver uninstall xcuitest
70
+ ```
71
+
72
+ You can find a full list of
73
+ [officially-supported](https://appium.github.io/appium/docs/en/latest/ecosystem/#drivers) and
74
+ [third-party](https://appium.github.io/appium/docs/en/latest/ecosystem/#other-drivers) drivers at
75
+ the current Appium 2.0 documentation.
76
+
77
+ ### Plugins
78
+
79
+ The concept of plugins is something new that has been added exclusively to Appium2. Plugins allow you to extend server functionality without changing the server code. Plugins could be managed similarly to drivers:
80
+
81
+ ```bash
82
+ # To install an officially supported plugin
83
+ appium plugin install images
84
+ # To install a plugin from a local folder (useful for developers)
85
+ appium plugin install --source=local /Users/me/sources/images
86
+ # To install a new plugin from npm
87
+ appium plugin install --source=npm appium-device-farm
88
+
89
+ # To list already installed plugins
90
+ appium plugin list --installed
91
+
92
+ # To update a plugins (it must be already installed)
93
+ appium plugin update appium-device-farm
94
+
95
+ # To uninstall a plugin
96
+ appium plugin uninstall appium-device-farm
97
+ ```
98
+
99
+ The main difference between drivers and plugins is that the latter must be explicitly enabled on server startup after it was installed (drivers are enabled by default after installation):
100
+
101
+ ```bash
102
+ appium server --use-plugins=device-farm,images
103
+ ```
104
+
105
+ You can find a full list of
106
+ [officially-supported](https://appium.github.io/appium/docs/en/latest/ecosystem/#plugins) and
107
+ [third-party](https://appium.github.io/appium/docs/en/latest/ecosystem/#other-plugins) plugins at
108
+ the current Appium 2.0 documentation.
109
+
110
+
111
+ ### Server Command Line Interface
112
+
113
+ In order to start sending commands to Appium over the wire it must be listening
114
+ on the URL where your client library expects it to listen.
115
+ Use the following commands to run and configure Appium server:
116
+
117
+ ```bash
118
+ # Start the server on the default port and host (e.g. http://0.0.0.0:4723/)
119
+ appium server
120
+ # Start the server on the given port, host and use the base path prefix (the default prefix is /)
121
+ appium server -p 9000 -a 127.0.0.1 -pa /wd/hub
122
+
123
+ # Get the list of all supported command line parameters.
124
+ # This list would also include descriptions of driver-specific
125
+ # command line arguments for all installed drivers.
126
+ # Each driver and plugin must have their command line arguments
127
+ # exposed in a special JSON schema declared as a part of the corresponding
128
+ # package.json file.
129
+ appium server --help
130
+ ```
131
+
132
+ Appium supports execution of parallel server processes as well as parallel driver sessions within
133
+ single server process. Refer the corresponding driver documentations regarding which mode is optimal
134
+ for the particular driver or whether it supports parallel sessions.
33
135
 
34
136
  ### Why Appium?
35
137
 
36
- 1. You don't have to recompile your app or modify it in any way, due
138
+ 1. You usually don't have to recompile your app or modify it in any way, due
37
139
  to the use of standard automation APIs on all platforms.
38
140
  2. You can write tests with your favorite dev tools using any
39
141
  [WebDriver](https://w3c.github.io/webdriver/webdriver-spec.html)-compatible
40
- language such as Java, Objective-C, JavaScript (Node), PHP, Python, Ruby,
41
- C#, Clojure, or Perl with the Selenium WebDriver API and [language-specific
42
- client libraries](/docs/en/about-appium/appium-clients.md).
142
+ language such as [Java](https://github.com/appium/java-client),
143
+ [JavaScript](https://webdriver.io/), [Python](https://github.com/appium/python-client),
144
+ [Ruby](https://github.com/appium/ruby_lib), [C#](https://github.com/appium/dotnet-client)
145
+ with the Selenium WebDriver API. There are also various third party
146
+ client implementations for other languages.
43
147
  3. You can use any testing framework.
44
- 4. Appium has built-in mobile web and hybrid app support. Within the same
45
- script, you can switch seamlessly between native app automation and webview
46
- automation, all using the WebDriver model that's already the standard for
47
- web automation.
148
+ 4. Some drivers, like xcuitest and uiautomator2 ones have built-in mobile web and
149
+ hybrid app support. Within the same script, you can switch seamlessly between native
150
+ app automation and webview automation, all using the WebDriver model that's already
151
+ the standard for web automation.
152
+ 5. You can run your automated tests locally and in a cloud. There are multiple
153
+ cloud providers that support various Appium drivers (mostly
154
+ targeting iOS and Android mobile automation).
155
+ 6. [Appium Inspector](https://github.com/appium/appium-inspector) allows
156
+ visual debugging of automated tests and could be extremely useful for
157
+ beginners.
48
158
 
49
159
  Investing in the
50
160
  [WebDriver](https://w3c.github.io/webdriver/webdriver-spec.html) protocol means
@@ -58,29 +168,21 @@ Java/Kotlin. Appium opens up the possibility of true cross-platform native app
58
168
  automation, for mobile and beyond. Finally!
59
169
 
60
170
  If you're new to Appium or want a more comprehensive description of what this is all
61
- about, please read our [Introduction to Appium
62
- Concepts](/docs/en/about-appium/intro.md).
63
-
64
- ### Requirements
65
-
66
- Your environment needs to be set up for the particular platforms that you want
67
- to run tests on. Each of the drivers above documents the requirements for their
68
- particular brand of automation. At a minimum, you will need to be able to run
69
- Node.js 10+.
171
+ about, please read our [Introduction to Appium Concepts](/docs/en/about-appium/intro.md).
70
172
 
71
173
  ### Get Started
72
174
 
73
- Check out our [Getting Started](/docs/en/about-appium/getting-started.md) guide
175
+ Check out our [Getting Started](http://appium.io/docs/en/about-appium/getting-started) guide
74
176
  to get going with Appium.
75
177
 
76
178
  There is also a sample code that contains [many examples of tests in a variety
77
- of different languages](https://github.com/appium/appium/tree/master/sample-code)!
179
+ of different languages](https://github.com/appium/appium/tree/1.x/sample-code)!
78
180
 
79
181
  ### Documentation
80
182
 
81
183
  For prettily-rendered docs, please visit [appium.io](http://appium.io). You can
82
184
  always find the full list of Appium doc pages at [Appium's GitHub
83
- Repo](https://github.com/appium/appium/tree/master/docs/en/) as well.
185
+ Repo](https://github.com/appium/appium/tree/master/docs) as well.
84
186
 
85
187
  [update-appium-io.yml](https://github.com/appium/appium/blob/master/ci-jobs/update-appium-io.yml) creates a PR
86
188
  by [CI job](https://dev.azure.com/AppiumCI/Appium%20CI/_build?definitionId=37).
@@ -104,14 +206,13 @@ Interested in where Appium is heading in the future? Check out the [Roadmap](ROA
104
206
 
105
207
  ### User Forums
106
208
 
107
- Announcements and debates often take place on the [Discussion
108
- Group](https://discuss.appium.io), be sure to sign up!
209
+ Announcements and debates often take place on the [Discussion Group](https://discuss.appium.io),
210
+ be sure to sign up!
109
211
 
110
212
  ### Troubleshooting
111
213
 
112
- We put together a [troubleshooting
113
- guide](/docs/en/writing-running-appium/other/troubleshooting.md). Please have a look
114
- here first if you run into any problems. It contains instructions for checking
214
+ We put together a [troubleshooting guide](/docs/en/writing-running-appium/other/troubleshooting.md).
215
+ Please have a look here first if you run into any problems. It contains instructions for checking
115
216
  a lot of common errors and how to get in touch with the community if you're
116
217
  stumped.
117
218
 
@@ -39,57 +39,7 @@ export type Capabilities<C extends Readonly<Record<string, import("@appium/types
39
39
  /**
40
40
  * @implements {SessionHandler}
41
41
  */
42
- export class AppiumDriver extends DriverCore<{
43
- readonly platformName: {
44
- readonly presence: true;
45
- readonly isString: true;
46
- };
47
- readonly app: {
48
- readonly isString: true;
49
- };
50
- readonly deviceName: {
51
- readonly isString: true;
52
- };
53
- readonly platformVersion: {
54
- readonly isString: true;
55
- };
56
- readonly newCommandTimeout: {
57
- readonly isNumber: true;
58
- };
59
- readonly automationName: {
60
- readonly isString: true;
61
- };
62
- readonly autoLaunch: {
63
- readonly isBoolean: true;
64
- };
65
- readonly udid: {
66
- readonly isString: true;
67
- };
68
- readonly orientation: {
69
- readonly inclusion: readonly ["LANDSCAPE", "PORTRAIT"];
70
- };
71
- readonly autoWebview: {
72
- readonly isBoolean: true;
73
- };
74
- readonly noReset: {
75
- readonly isBoolean: true;
76
- };
77
- readonly fullReset: {
78
- readonly isBoolean: true;
79
- };
80
- readonly language: {
81
- readonly isString: true;
82
- };
83
- readonly locale: {
84
- readonly isString: true;
85
- };
86
- readonly eventTimings: {
87
- readonly isBoolean: true;
88
- };
89
- readonly printPageSourceOnFindFailure: {
90
- readonly isBoolean: true;
91
- };
92
- }> implements SessionHandler {
42
+ export class AppiumDriver extends DriverCore<typeof import("@appium/types").BASE_DESIRED_CAP_CONSTRAINTS> implements SessionHandler {
93
43
  /**
94
44
  * @param {DriverOpts} opts
95
45
  */
@@ -140,63 +90,13 @@ export class AppiumDriver extends DriverCore<{
140
90
  /** @type {DriverOpts} */
141
91
  args: DriverOpts;
142
92
  sessionExists(sessionId: any): boolean;
143
- driverForSession(sessionId: any): import("@appium/types").ExternalDriver;
93
+ driverForSession(sessionId: any): import("@appium/types").ExternalDriver<typeof import("@appium/types").BASE_DESIRED_CAP_CONSTRAINTS>;
144
94
  getStatus(): Promise<{
145
95
  build: import("../types").BuildInfo;
146
96
  }>;
147
97
  getSessions(): Promise<{
148
98
  id: string;
149
- capabilities: Partial<import("@appium/types").ConstraintsToCaps<{
150
- readonly platformName: {
151
- readonly presence: true;
152
- readonly isString: true;
153
- };
154
- readonly app: {
155
- readonly isString: true;
156
- };
157
- readonly deviceName: {
158
- readonly isString: true;
159
- };
160
- readonly platformVersion: {
161
- readonly isString: true;
162
- };
163
- readonly newCommandTimeout: {
164
- readonly isNumber: true;
165
- };
166
- readonly automationName: {
167
- readonly isString: true;
168
- };
169
- readonly autoLaunch: {
170
- readonly isBoolean: true;
171
- };
172
- readonly udid: {
173
- readonly isString: true;
174
- };
175
- readonly orientation: {
176
- readonly inclusion: readonly ["LANDSCAPE", "PORTRAIT"];
177
- };
178
- readonly autoWebview: {
179
- readonly isBoolean: true;
180
- };
181
- readonly noReset: {
182
- readonly isBoolean: true;
183
- };
184
- readonly fullReset: {
185
- readonly isBoolean: true;
186
- };
187
- readonly language: {
188
- readonly isString: true;
189
- };
190
- readonly locale: {
191
- readonly isString: true;
192
- };
193
- readonly eventTimings: {
194
- readonly isBoolean: true;
195
- };
196
- readonly printPageSourceOnFindFailure: {
197
- readonly isBoolean: true;
198
- };
199
- }> & void> | undefined;
99
+ capabilities: Partial<import("@appium/types").ConstraintsToCaps<typeof import("@appium/types").BASE_DESIRED_CAP_CONSTRAINTS> & void> | undefined;
200
100
  }[]>;
201
101
  printNewSessionAnnouncement(driverName: any, driverVersion: any, driverBaseVersion: any): void;
202
102
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"appium.d.ts","sourceRoot":"","sources":["../../lib/appium.js"],"names":[],"mappings":"AAsyBA;;;GAGG;AACH;IAME,cAOC;IAZD;;OAEG;IACH,MAFU,SAAS,MAAM,CAAC,CAEgB;CAU3C;sCA3xBY,mCAAmC;6BAgyBnC,OAAO,eAAe,EAAE,cAAc;qBACtC,OAAO,eAAe,EAAE,MAAM;0BAC9B,OAAO,eAAe,EAAE,WAAW;yBACnC,OAAO,eAAe,EAAE,UAAU;yBAClC,OAAO,eAAe,EAAE,UAAU;0BAClC,OAAO,eAAe,EAAE,WAAW;2BACnC,OAAO,eAAe,EAAE,YAAY;4BACpC,OAAO,eAAe,EAAE,aAAa;2BACrC,OAAO,2BAA2B,EAAE,YAAY;qBAChD,OAAO,eAAe,EAAE,MAAM;0BAC9B,OAAO,eAAe,EAAE,WAAW;yBACnC,OAAO,eAAe,EAAE,UAAU;yBAClC,OAAO,eAAe,EAAE,UAAU;2BAClC,OAAO,eAAe,EAAE,YAAY;6BACpC,OAAO,eAAe,EAAE,cAAc,CAAC,qBAAqB,GAAG,EAAE,CAAC,EAAC,qBAAqB,IAAI,CAAC,CAAC;;;;;;;;;;sGAe9F,OAAO,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC;mGAK1C,OAAO,eA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