webdriverio 7.20.7 → 7.20.8-alpha.504

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 (229) hide show
  1. package/build/cjs/index.d.ts +3 -0
  2. package/build/cjs/index.d.ts.map +1 -0
  3. package/build/cjs/index.js +13 -0
  4. package/build/cjs/package.json +3 -0
  5. package/build/commands/browser/$$.d.ts +10 -1
  6. package/build/commands/browser/$$.d.ts.map +1 -1
  7. package/build/commands/browser/$$.js +16 -9
  8. package/build/commands/browser/$.js +8 -11
  9. package/build/commands/browser/action.d.ts +132 -0
  10. package/build/commands/browser/action.d.ts.map +1 -0
  11. package/build/commands/browser/action.js +13 -0
  12. package/build/commands/browser/actions.d.ts +29 -0
  13. package/build/commands/browser/actions.d.ts.map +1 -0
  14. package/build/commands/browser/actions.js +30 -0
  15. package/build/commands/browser/addCommand.d.ts +1 -1
  16. package/build/commands/browser/addCommand.js +1 -1
  17. package/build/commands/browser/call.d.ts +7 -5
  18. package/build/commands/browser/call.d.ts.map +1 -1
  19. package/build/commands/browser/call.js +8 -9
  20. package/build/commands/browser/custom$$.js +7 -10
  21. package/build/commands/browser/custom$.d.ts +1 -1
  22. package/build/commands/browser/custom$.js +6 -9
  23. package/build/commands/browser/debug.js +8 -14
  24. package/build/commands/browser/deleteCookies.d.ts +3 -3
  25. package/build/commands/browser/deleteCookies.js +4 -7
  26. package/build/commands/browser/execute.d.ts +2 -2
  27. package/build/commands/browser/execute.js +5 -8
  28. package/build/commands/browser/executeAsync.js +3 -6
  29. package/build/commands/browser/getCookies.d.ts +2 -2
  30. package/build/commands/browser/getCookies.js +3 -6
  31. package/build/commands/browser/getPuppeteer.d.ts +1 -1
  32. package/build/commands/browser/getPuppeteer.d.ts.map +1 -1
  33. package/build/commands/browser/getPuppeteer.js +14 -21
  34. package/build/commands/browser/getWindowSize.js +3 -6
  35. package/build/commands/browser/keys.d.ts +20 -10
  36. package/build/commands/browser/keys.d.ts.map +1 -1
  37. package/build/commands/browser/keys.js +29 -24
  38. package/build/commands/browser/mock.d.ts +5 -4
  39. package/build/commands/browser/mock.d.ts.map +1 -1
  40. package/build/commands/browser/mock.js +16 -22
  41. package/build/commands/browser/mockClearAll.js +5 -11
  42. package/build/commands/browser/mockRestoreAll.js +5 -11
  43. package/build/commands/browser/newWindow.js +5 -11
  44. package/build/commands/browser/pause.js +1 -4
  45. package/build/commands/browser/react$$.d.ts.map +1 -1
  46. package/build/commands/browser/react$$.js +16 -17
  47. package/build/commands/browser/react$.d.ts.map +1 -1
  48. package/build/commands/browser/react$.js +13 -14
  49. package/build/commands/browser/reloadSession.js +5 -12
  50. package/build/commands/browser/savePDF.d.ts +14 -14
  51. package/build/commands/browser/savePDF.js +21 -27
  52. package/build/commands/browser/saveRecordingScreen.js +6 -12
  53. package/build/commands/browser/saveScreenshot.js +6 -12
  54. package/build/commands/browser/scroll.d.ts +25 -0
  55. package/build/commands/browser/scroll.d.ts.map +1 -0
  56. package/build/commands/browser/scroll.js +41 -0
  57. package/build/commands/browser/setCookies.d.ts +1 -1
  58. package/build/commands/browser/setCookies.d.ts.map +1 -1
  59. package/build/commands/browser/setCookies.js +5 -7
  60. package/build/commands/browser/setTimeout.js +1 -4
  61. package/build/commands/browser/setWindowSize.js +3 -6
  62. package/build/commands/browser/switchWindow.js +1 -4
  63. package/build/commands/browser/throttle.js +3 -6
  64. package/build/commands/browser/touchAction.d.ts +1 -1
  65. package/build/commands/browser/touchAction.d.ts.map +1 -1
  66. package/build/commands/browser/touchAction.js +3 -6
  67. package/build/commands/browser/uploadFile.d.ts +1 -1
  68. package/build/commands/browser/uploadFile.d.ts.map +1 -1
  69. package/build/commands/browser/uploadFile.js +10 -15
  70. package/build/commands/browser/url.js +3 -6
  71. package/build/commands/browser/waitUntil.d.ts +1 -2
  72. package/build/commands/browser/waitUntil.d.ts.map +1 -1
  73. package/build/commands/browser/waitUntil.js +4 -11
  74. package/build/commands/browser.d.ts +37 -69
  75. package/build/commands/browser.d.ts.map +1 -1
  76. package/build/commands/browser.js +37 -44
  77. package/build/commands/constant.d.ts +1 -1
  78. package/build/commands/constant.d.ts.map +1 -1
  79. package/build/commands/constant.js +6 -12
  80. package/build/commands/element/$$.d.ts +1 -1
  81. package/build/commands/element/$$.d.ts.map +1 -1
  82. package/build/commands/element/$$.js +2 -7
  83. package/build/commands/element/$.d.ts +1 -1
  84. package/build/commands/element/$.d.ts.map +1 -1
  85. package/build/commands/element/$.js +2 -7
  86. package/build/commands/element/addValue.d.ts +10 -14
  87. package/build/commands/element/addValue.d.ts.map +1 -1
  88. package/build/commands/element/addValue.js +23 -27
  89. package/build/commands/element/clearValue.d.ts +1 -1
  90. package/build/commands/element/clearValue.js +2 -5
  91. package/build/commands/element/click.d.ts +1 -1
  92. package/build/commands/element/click.d.ts.map +1 -1
  93. package/build/commands/element/click.js +19 -34
  94. package/build/commands/element/custom$$.js +9 -11
  95. package/build/commands/element/custom$.js +8 -10
  96. package/build/commands/element/doubleClick.d.ts.map +1 -1
  97. package/build/commands/element/doubleClick.js +11 -17
  98. package/build/commands/element/dragAndDrop.d.ts.map +1 -1
  99. package/build/commands/element/dragAndDrop.js +13 -19
  100. package/build/commands/element/getAttribute.js +1 -4
  101. package/build/commands/element/getCSSProperty.d.ts +1 -1
  102. package/build/commands/element/getCSSProperty.d.ts.map +1 -1
  103. package/build/commands/element/getCSSProperty.js +7 -13
  104. package/build/commands/element/getComputedLabel.js +1 -4
  105. package/build/commands/element/getComputedRole.js +1 -4
  106. package/build/commands/element/getHTML.js +7 -13
  107. package/build/commands/element/getLocation.js +3 -5
  108. package/build/commands/element/getProperty.d.ts +5 -5
  109. package/build/commands/element/getProperty.d.ts.map +1 -1
  110. package/build/commands/element/getProperty.js +5 -11
  111. package/build/commands/element/getSize.js +3 -5
  112. package/build/commands/element/getTagName.js +1 -4
  113. package/build/commands/element/getText.js +1 -4
  114. package/build/commands/element/getValue.js +1 -4
  115. package/build/commands/element/isClickable.d.ts.map +1 -1
  116. package/build/commands/element/isClickable.js +10 -13
  117. package/build/commands/element/isDisplayed.js +9 -16
  118. package/build/commands/element/isDisplayedInViewport.js +7 -13
  119. package/build/commands/element/isEnabled.js +1 -4
  120. package/build/commands/element/isEqual.d.ts.map +1 -1
  121. package/build/commands/element/isEqual.js +9 -9
  122. package/build/commands/element/isExisting.js +1 -4
  123. package/build/commands/element/isFocused.js +7 -13
  124. package/build/commands/element/isSelected.js +1 -4
  125. package/build/commands/element/moveTo.d.ts.map +1 -1
  126. package/build/commands/element/moveTo.js +8 -13
  127. package/build/commands/element/nextElement.js +2 -5
  128. package/build/commands/element/parentElement.js +2 -5
  129. package/build/commands/element/previousElement.js +2 -5
  130. package/build/commands/element/react$$.d.ts.map +1 -1
  131. package/build/commands/element/react$$.js +16 -16
  132. package/build/commands/element/react$.d.ts.map +1 -1
  133. package/build/commands/element/react$.js +15 -14
  134. package/build/commands/element/saveScreenshot.js +6 -12
  135. package/build/commands/element/scrollIntoView.d.ts +4 -2
  136. package/build/commands/element/scrollIntoView.d.ts.map +1 -1
  137. package/build/commands/element/scrollIntoView.js +33 -12
  138. package/build/commands/element/selectByAttribute.js +3 -6
  139. package/build/commands/element/selectByIndex.js +3 -6
  140. package/build/commands/element/selectByVisibleText.js +3 -6
  141. package/build/commands/element/setValue.d.ts +13 -14
  142. package/build/commands/element/setValue.d.ts.map +1 -1
  143. package/build/commands/element/setValue.js +14 -17
  144. package/build/commands/element/shadow$$.d.ts +1 -1
  145. package/build/commands/element/shadow$$.d.ts.map +1 -1
  146. package/build/commands/element/shadow$$.js +3 -6
  147. package/build/commands/element/shadow$.js +3 -6
  148. package/build/commands/element/touchAction.js +3 -6
  149. package/build/commands/element/waitForClickable.js +1 -4
  150. package/build/commands/element/waitForDisplayed.js +1 -4
  151. package/build/commands/element/waitForEnabled.js +1 -4
  152. package/build/commands/element/waitForExist.js +1 -4
  153. package/build/commands/element/waitUntil.d.ts +2 -3
  154. package/build/commands/element/waitUntil.d.ts.map +1 -1
  155. package/build/commands/element/waitUntil.js +3 -9
  156. package/build/commands/element.d.ts +49 -99
  157. package/build/commands/element.d.ts.map +1 -1
  158. package/build/commands/element.js +49 -63
  159. package/build/constants.d.ts +67 -0
  160. package/build/constants.d.ts.map +1 -1
  161. package/build/constants.js +105 -12
  162. package/build/index.d.ts +65 -6
  163. package/build/index.d.ts.map +1 -1
  164. package/build/index.js +48 -86
  165. package/build/middlewares.d.ts +1 -1
  166. package/build/middlewares.js +11 -19
  167. package/build/multiremote.js +18 -24
  168. package/build/protocol-stub.d.ts.map +1 -1
  169. package/build/protocol-stub.js +4 -6
  170. package/build/scripts/getHTML.js +1 -4
  171. package/build/scripts/getProperty.d.ts +5 -5
  172. package/build/scripts/getProperty.d.ts.map +1 -1
  173. package/build/scripts/getProperty.js +1 -4
  174. package/build/scripts/isElementClickable.js +1 -4
  175. package/build/scripts/isElementDisplayed.js +2 -5
  176. package/build/scripts/isElementInViewport.js +1 -4
  177. package/build/scripts/isFocused.js +1 -4
  178. package/build/scripts/newWindow.js +1 -4
  179. package/build/scripts/resq.js +3 -9
  180. package/build/scripts/shadowFnFactory.js +2 -6
  181. package/build/types.d.ts +5 -9
  182. package/build/types.d.ts.map +1 -1
  183. package/build/types.js +1 -2
  184. package/build/utils/SevereServiceError.js +1 -4
  185. package/build/utils/Timer.d.ts.map +1 -1
  186. package/build/utils/Timer.js +13 -29
  187. package/build/utils/actions/base.d.ts +32 -0
  188. package/build/utils/actions/base.d.ts.map +1 -0
  189. package/build/utils/actions/base.js +66 -0
  190. package/build/utils/actions/index.d.ts +6 -0
  191. package/build/utils/actions/index.d.ts.map +1 -0
  192. package/build/utils/actions/index.js +5 -0
  193. package/build/utils/actions/key.d.ts +15 -0
  194. package/build/utils/actions/key.d.ts.map +1 -0
  195. package/build/utils/actions/key.js +22 -0
  196. package/build/utils/actions/pointer.d.ts +62 -0
  197. package/build/utils/actions/pointer.d.ts.map +1 -0
  198. package/build/utils/actions/pointer.js +76 -0
  199. package/build/utils/actions/wheel.d.ts +36 -0
  200. package/build/utils/actions/wheel.d.ts.map +1 -0
  201. package/build/utils/actions/wheel.js +20 -0
  202. package/build/utils/detectBackend.d.ts +1 -1
  203. package/build/utils/detectBackend.d.ts.map +1 -1
  204. package/build/utils/detectBackend.js +3 -7
  205. package/build/utils/findStrategy.d.ts.map +1 -1
  206. package/build/utils/findStrategy.js +50 -19
  207. package/build/utils/getElementObject.d.ts +1 -1
  208. package/build/utils/getElementObject.d.ts.map +1 -1
  209. package/build/utils/getElementObject.js +51 -32
  210. package/build/utils/implicitWait.js +3 -9
  211. package/build/utils/index.d.ts +8 -7
  212. package/build/utils/index.d.ts.map +1 -1
  213. package/build/utils/index.js +125 -148
  214. package/build/utils/interception/devtools.d.ts +1 -1
  215. package/build/utils/interception/devtools.d.ts.map +1 -1
  216. package/build/utils/interception/devtools.js +17 -36
  217. package/build/utils/interception/index.d.ts +2 -2
  218. package/build/utils/interception/index.d.ts.map +1 -1
  219. package/build/utils/interception/index.js +10 -13
  220. package/build/utils/interception/types.d.ts +1 -1
  221. package/build/utils/interception/types.d.ts.map +1 -1
  222. package/build/utils/interception/types.js +1 -2
  223. package/build/utils/interception/webdriver.d.ts +1 -1
  224. package/build/utils/interception/webdriver.d.ts.map +1 -1
  225. package/build/utils/interception/webdriver.js +6 -11
  226. package/build/utils/refetchElement.js +3 -9
  227. package/package.json +27 -17
  228. package/async.d.ts +0 -24
  229. package/sync.d.ts +0 -24
@@ -1,29 +1,28 @@
1
- import type { CommandOptions, Value } from './addValue';
2
1
  /**
2
+ * Send a sequence of key strokes to an element after the input has been cleared before. If the element doesn't need
3
+ * to be cleared first then use [`addValue`](/docs/api/element/addValue).
3
4
  *
4
- * Send a sequence of key strokes to an element (clears value before). If the element
5
- * doesn't need to be cleared first then use addValue. You can also use
6
- * unicode characters like Left arrow or Back space. WebdriverIO will take care of
7
- * translating them into unicode characters. You’ll find all supported characters
8
- * [here](https://w3c.github.io/webdriver/webdriver-spec.html#keyboard-actions).
9
- * To do that, the value has to correspond to a key from the table. It can be disabled
10
- * by setting `translateToUnicode` optional parameter to false.
5
+ * :::info
6
+ *
7
+ * If you like to use special characters, e.g. to copy and paste a value from one input to another, use the
8
+ * [`keys`](/docs/api/browser/keys) command.
9
+ *
10
+ * :::
11
11
  *
12
12
  * <example>
13
13
  :setValue.js
14
14
  it('should set value for a certain element', async () => {
15
15
  const input = await $('.input');
16
- await input.setValue('test123');
16
+ await input.setValue('test')
17
+ await input.setValue(123)
17
18
 
18
- console.log(await input.getValue()); // outputs: 'test123'
19
+ console.log(await input.getValue()); // outputs: '123'
19
20
  });
20
21
  * </example>
21
22
  *
22
23
  * @alias element.setValue
23
- * @param {string | number | Array<string | number>} value value to be added
24
- * @param {CommandOptions=} options command options (optional)
25
- * @param {boolean} options.translateToUnicode enable translation string to unicode value automatically
24
+ * @param {string | number} value value to be added
26
25
  *
27
26
  */
28
- export default function setValue(this: WebdriverIO.Element, value: Value | Value[], { translateToUnicode }?: CommandOptions): Promise<void>;
27
+ export default function setValue(this: WebdriverIO.Element, value: string | number): Promise<void>;
29
28
  //# sourceMappingURL=setValue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setValue.d.ts","sourceRoot":"","sources":["../../../src/commands/element/setValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAA8B,QAAQ,CAClC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,KAAK,EAAE,KAAK,GAAG,KAAK,EAAE,EACtB,EAAE,kBAAyB,EAAE,GAAE,cAAmB,iBAIrD"}
1
+ {"version":3,"file":"setValue.d.ts","sourceRoot":"","sources":["../../../src/commands/element/setValue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAA8B,QAAQ,CAClC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,KAAK,EAAE,MAAM,GAAG,MAAM,iBAIzB"}
@@ -1,33 +1,30 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  /**
2
+ * Send a sequence of key strokes to an element after the input has been cleared before. If the element doesn't need
3
+ * to be cleared first then use [`addValue`](/docs/api/element/addValue).
4
4
  *
5
- * Send a sequence of key strokes to an element (clears value before). If the element
6
- * doesn't need to be cleared first then use addValue. You can also use
7
- * unicode characters like Left arrow or Back space. WebdriverIO will take care of
8
- * translating them into unicode characters. You’ll find all supported characters
9
- * [here](https://w3c.github.io/webdriver/webdriver-spec.html#keyboard-actions).
10
- * To do that, the value has to correspond to a key from the table. It can be disabled
11
- * by setting `translateToUnicode` optional parameter to false.
5
+ * :::info
6
+ *
7
+ * If you like to use special characters, e.g. to copy and paste a value from one input to another, use the
8
+ * [`keys`](/docs/api/browser/keys) command.
9
+ *
10
+ * :::
12
11
  *
13
12
  * <example>
14
13
  :setValue.js
15
14
  it('should set value for a certain element', async () => {
16
15
  const input = await $('.input');
17
- await input.setValue('test123');
16
+ await input.setValue('test')
17
+ await input.setValue(123)
18
18
 
19
- console.log(await input.getValue()); // outputs: 'test123'
19
+ console.log(await input.getValue()); // outputs: '123'
20
20
  });
21
21
  * </example>
22
22
  *
23
23
  * @alias element.setValue
24
- * @param {string | number | Array<string | number>} value value to be added
25
- * @param {CommandOptions=} options command options (optional)
26
- * @param {boolean} options.translateToUnicode enable translation string to unicode value automatically
24
+ * @param {string | number} value value to be added
27
25
  *
28
26
  */
29
- async function setValue(value, { translateToUnicode = true } = {}) {
27
+ export default async function setValue(value) {
30
28
  await this.clearValue();
31
- return this.addValue(value, { translateToUnicode });
29
+ return this.addValue(value);
32
30
  }
33
- exports.default = setValue;
@@ -18,5 +18,5 @@
18
18
  * @type utility
19
19
  *
20
20
  */
21
- export default function shadowRoot(this: WebdriverIO.Element, selector: string): Promise<import("../..").ElementArray>;
21
+ export default function shadowRoot(this: WebdriverIO.Element, selector: string): Promise<import("../../types.js").ElementArray>;
22
22
  //# sourceMappingURL=shadow$$.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shadow$$.d.ts","sourceRoot":"","sources":["../../../src/commands/element/shadow$$.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAA8B,UAAU,CACpC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,QAAQ,EAAE,MAAM,yCAGnB"}
1
+ {"version":3,"file":"shadow$$.d.ts","sourceRoot":"","sources":["../../../src/commands/element/shadow$$.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAA8B,UAAU,CACpC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,QAAQ,EAAE,MAAM,kDAGnB"}
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const shadowFnFactory_1 = require("../../scripts/shadowFnFactory");
1
+ import { shadowFnFactory } from '../../scripts/shadowFnFactory.js';
4
2
  /**
5
3
  *
6
4
  * Access elements inside a given element's shadowRoot. If you are working
@@ -21,7 +19,6 @@ const shadowFnFactory_1 = require("../../scripts/shadowFnFactory");
21
19
  * @type utility
22
20
  *
23
21
  */
24
- async function shadowRoot(selector) {
25
- return await this.$$((0, shadowFnFactory_1.shadowFnFactory)(selector, true));
22
+ export default async function shadowRoot(selector) {
23
+ return await this.$$(shadowFnFactory(selector, true));
26
24
  }
27
- exports.default = shadowRoot;
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const shadowFnFactory_1 = require("../../scripts/shadowFnFactory");
1
+ import { shadowFnFactory } from '../../scripts/shadowFnFactory.js';
4
2
  /**
5
3
  *
6
4
  * Access an element inside a given element's shadowRoot. If you are working
@@ -21,7 +19,6 @@ const shadowFnFactory_1 = require("../../scripts/shadowFnFactory");
21
19
  * @type utility
22
20
  *
23
21
  */
24
- async function shadowRoot(selector) {
25
- return await this.$((0, shadowFnFactory_1.shadowFnFactory)(selector));
22
+ export default async function shadowRoot(selector) {
23
+ return await this.$(shadowFnFactory(selector));
26
24
  }
27
- exports.default = shadowRoot;
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const constant_1 = require("../constant");
1
+ import { touchAction as touchActionCommand } from '../constant.js';
4
2
  /**
5
3
  *
6
4
  * The Touch Action API provides the basis of all gestures that can be automated in Appium.
@@ -52,7 +50,6 @@ const constant_1 = require("../constant");
52
50
  * @for android, ios
53
51
  *
54
52
  */
55
- function touchAction(actions) {
56
- return constant_1.touchAction.call(this, actions);
53
+ export default function touchAction(actions) {
54
+ return touchActionCommand.call(this, actions);
57
55
  }
58
- exports.default = touchAction;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  /**
4
2
  * Wait for an element for the provided amount of milliseconds to be clickable or not clickable.
5
3
  *
@@ -31,7 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
31
29
  * @return {Boolean} `true` if element is clickable (or doesn't if flag is set)
32
30
  *
33
31
  */
34
- async function waitForClickable({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}clickable after ${timeout}ms` } = {}) {
32
+ export default async function waitForClickable({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}clickable after ${timeout}ms` } = {}) {
35
33
  return this.waitUntil(async () => reverse !== await this.isClickable(), { timeout, timeoutMsg, interval });
36
34
  }
37
- exports.default = waitForClickable;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  /**
4
2
  *
5
3
  * Wait for an element for the provided amount of milliseconds to be displayed or not displayed.
@@ -41,7 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
41
39
  * @type utility
42
40
  *
43
41
  */
44
- async function waitForDisplayed({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}displayed after ${timeout}ms` } = {}) {
42
+ export default async function waitForDisplayed({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}displayed after ${timeout}ms` } = {}) {
45
43
  return this.waitUntil(async () => reverse !== await this.isDisplayed(), { timeout, interval, timeoutMsg });
46
44
  }
47
- exports.default = waitForDisplayed;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  /**
4
2
  *
5
3
  * Wait for an element (selected by css selector) for the provided amount of
@@ -43,7 +41,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
43
41
  * @type utility
44
42
  *
45
43
  */
46
- async function waitForEnabled({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}enabled after ${timeout}ms` } = {}) {
44
+ export default async function waitForEnabled({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}enabled after ${timeout}ms` } = {}) {
47
45
  /**
48
46
  * if the element doesn't already exist, wait for it to exist
49
47
  */
@@ -52,4 +50,3 @@ async function waitForEnabled({ timeout = this.options.waitforTimeout, interval
52
50
  }
53
51
  return this.waitUntil(async () => reverse !== await this.isEnabled(), { timeout, interval, timeoutMsg });
54
52
  }
55
- exports.default = waitForEnabled;
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  /**
4
2
  *
5
3
  * Wait for an element for the provided amount of
@@ -43,7 +41,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
43
41
  * @type utility
44
42
  *
45
43
  */
46
- function waitForExist({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}existing after ${timeout}ms` } = {}) {
44
+ export default function waitForExist({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}existing after ${timeout}ms` } = {}) {
47
45
  return this.waitUntil(async () => reverse !== await this.isExisting(), { timeout, interval, timeoutMsg });
48
46
  }
49
- exports.default = waitForExist;
@@ -1,8 +1,7 @@
1
1
  /**
2
2
  *
3
3
  * This wait command is your universal weapon if you want to wait on something. It expects a condition
4
- * and waits until that condition is fulfilled with a truthy value. If you use the WDIO testrunner the
5
- * commands within the condition are getting executed synchronously like in your test.
4
+ * and waits until that condition is fulfilled with a truthy value.
6
5
  *
7
6
  * :::info
8
7
  *
@@ -44,6 +43,6 @@
44
43
  * @type utility
45
44
  *
46
45
  */
47
- import waitUntil from '../browser/waitUntil';
46
+ import waitUntil from '../browser/waitUntil.js';
48
47
  export default waitUntil;
49
48
  //# sourceMappingURL=waitUntil.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"waitUntil.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitUntil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,OAAO,SAAS,MAAM,sBAAsB,CAAA;AAC5C,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"waitUntil.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitUntil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,OAAO,SAAS,MAAM,yBAAyB,CAAA;AAC/C,eAAe,SAAS,CAAA"}
@@ -1,13 +1,7 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
1
  /**
7
2
  *
8
3
  * This wait command is your universal weapon if you want to wait on something. It expects a condition
9
- * and waits until that condition is fulfilled with a truthy value. If you use the WDIO testrunner the
10
- * commands within the condition are getting executed synchronously like in your test.
4
+ * and waits until that condition is fulfilled with a truthy value.
11
5
  *
12
6
  * :::info
13
7
  *
@@ -49,5 +43,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
49
43
  * @type utility
50
44
  *
51
45
  */
52
- const waitUntil_1 = __importDefault(require("../browser/waitUntil"));
53
- exports.default = waitUntil_1.default;
46
+ import waitUntil from '../browser/waitUntil.js';
47
+ export default waitUntil;
@@ -1,100 +1,50 @@
1
- import $$ from './element/$$';
2
- import $ from './element/$';
3
- import addValue from './element/addValue';
4
- import clearValue from './element/clearValue';
5
- import click from './element/click';
6
- import custom$$ from './element/custom$$';
7
- import custom$ from './element/custom$';
8
- import doubleClick from './element/doubleClick';
9
- import dragAndDrop from './element/dragAndDrop';
10
- import getAttribute from './element/getAttribute';
11
- import getCSSProperty from './element/getCSSProperty';
12
- import getComputedRole from './element/getComputedRole';
13
- import getComputedLabel from './element/getComputedLabel';
14
- import getHTML from './element/getHTML';
15
- import getLocation from './element/getLocation';
16
- import getProperty from './element/getProperty';
17
- import getSize from './element/getSize';
18
- import getTagName from './element/getTagName';
19
- import getText from './element/getText';
20
- import getValue from './element/getValue';
21
- import isClickable from './element/isClickable';
22
- import isDisplayed from './element/isDisplayed';
23
- import isDisplayedInViewport from './element/isDisplayedInViewport';
24
- import isEnabled from './element/isEnabled';
25
- import isEqual from './element/isEqual';
26
- import isExisting from './element/isExisting';
27
- import isFocused from './element/isFocused';
28
- import isSelected from './element/isSelected';
29
- import moveTo from './element/moveTo';
30
- import nextElement from './element/nextElement';
31
- import parentElement from './element/parentElement';
32
- import previousElement from './element/previousElement';
33
- import react$$ from './element/react$$';
34
- import react$ from './element/react$';
35
- import saveScreenshot from './element/saveScreenshot';
36
- import scrollIntoView from './element/scrollIntoView';
37
- import selectByAttribute from './element/selectByAttribute';
38
- import selectByIndex from './element/selectByIndex';
39
- import selectByVisibleText from './element/selectByVisibleText';
40
- import setValue from './element/setValue';
41
- import shadow$$ from './element/shadow$$';
42
- import shadow$ from './element/shadow$';
43
- import touchAction from './element/touchAction';
44
- import waitForClickable from './element/waitForClickable';
45
- import waitForDisplayed from './element/waitForDisplayed';
46
- import waitForEnabled from './element/waitForEnabled';
47
- import waitForExist from './element/waitForExist';
48
- import waitUntil from './element/waitUntil';
49
- declare const _default: {
50
- $$: typeof $$;
51
- $: typeof $;
52
- addValue: typeof addValue;
53
- clearValue: typeof clearValue;
54
- click: typeof click;
55
- custom$: typeof custom$;
56
- custom$$: typeof custom$$;
57
- doubleClick: typeof doubleClick;
58
- dragAndDrop: typeof dragAndDrop;
59
- getAttribute: typeof getAttribute;
60
- getCSSProperty: typeof getCSSProperty;
61
- getComputedRole: typeof getComputedRole;
62
- getComputedLabel: typeof getComputedLabel;
63
- getHTML: typeof getHTML;
64
- getLocation: typeof getLocation;
65
- getProperty: typeof getProperty;
66
- getSize: typeof getSize;
67
- getTagName: typeof getTagName;
68
- getText: typeof getText;
69
- getValue: typeof getValue;
70
- isClickable: typeof isClickable;
71
- isDisplayed: typeof isDisplayed;
72
- isDisplayedInViewport: typeof isDisplayedInViewport;
73
- isEnabled: typeof isEnabled;
74
- isEqual: typeof isEqual;
75
- isExisting: typeof isExisting;
76
- isFocused: typeof isFocused;
77
- isSelected: typeof isSelected;
78
- moveTo: typeof moveTo;
79
- nextElement: typeof nextElement;
80
- parentElement: typeof parentElement;
81
- previousElement: typeof previousElement;
82
- react$: typeof react$;
83
- react$$: typeof react$$;
84
- saveScreenshot: typeof saveScreenshot;
85
- scrollIntoView: typeof scrollIntoView;
86
- selectByAttribute: typeof selectByAttribute;
87
- selectByIndex: typeof selectByIndex;
88
- selectByVisibleText: typeof selectByVisibleText;
89
- setValue: typeof setValue;
90
- shadow$: typeof shadow$;
91
- shadow$$: typeof shadow$$;
92
- touchAction: typeof touchAction;
93
- waitForClickable: typeof waitForClickable;
94
- waitForDisplayed: typeof waitForDisplayed;
95
- waitForEnabled: typeof waitForEnabled;
96
- waitForExist: typeof waitForExist;
97
- waitUntil: typeof waitUntil;
98
- };
99
- export default _default;
1
+ import $$ from './element/$$.js';
2
+ import $ from './element/$.js';
3
+ import addValue from './element/addValue.js';
4
+ import clearValue from './element/clearValue.js';
5
+ import click from './element/click.js';
6
+ import custom$$ from './element/custom$$.js';
7
+ import custom$ from './element/custom$.js';
8
+ import doubleClick from './element/doubleClick.js';
9
+ import dragAndDrop from './element/dragAndDrop.js';
10
+ import getAttribute from './element/getAttribute.js';
11
+ import getCSSProperty from './element/getCSSProperty.js';
12
+ import getComputedRole from './element/getComputedRole.js';
13
+ import getComputedLabel from './element/getComputedLabel.js';
14
+ import getHTML from './element/getHTML.js';
15
+ import getLocation from './element/getLocation.js';
16
+ import getProperty from './element/getProperty.js';
17
+ import getSize from './element/getSize.js';
18
+ import getTagName from './element/getTagName.js';
19
+ import getText from './element/getText.js';
20
+ import getValue from './element/getValue.js';
21
+ import isClickable from './element/isClickable.js';
22
+ import isDisplayed from './element/isDisplayed.js';
23
+ import isDisplayedInViewport from './element/isDisplayedInViewport.js';
24
+ import isEnabled from './element/isEnabled.js';
25
+ import isEqual from './element/isEqual.js';
26
+ import isExisting from './element/isExisting.js';
27
+ import isFocused from './element/isFocused.js';
28
+ import isSelected from './element/isSelected.js';
29
+ import moveTo from './element/moveTo.js';
30
+ import nextElement from './element/nextElement.js';
31
+ import parentElement from './element/parentElement.js';
32
+ import previousElement from './element/previousElement.js';
33
+ import react$$ from './element/react$$.js';
34
+ import react$ from './element/react$.js';
35
+ import saveScreenshot from './element/saveScreenshot.js';
36
+ import scrollIntoView from './element/scrollIntoView.js';
37
+ import selectByAttribute from './element/selectByAttribute.js';
38
+ import selectByIndex from './element/selectByIndex.js';
39
+ import selectByVisibleText from './element/selectByVisibleText.js';
40
+ import setValue from './element/setValue.js';
41
+ import shadow$$ from './element/shadow$$.js';
42
+ import shadow$ from './element/shadow$.js';
43
+ import touchAction from './element/touchAction.js';
44
+ import waitForClickable from './element/waitForClickable.js';
45
+ import waitForDisplayed from './element/waitForDisplayed.js';
46
+ import waitForEnabled from './element/waitForEnabled.js';
47
+ import waitForExist from './element/waitForExist.js';
48
+ import waitUntil from './element/waitUntil.js';
49
+ export { $$, $, addValue, clearValue, click, custom$, custom$$, doubleClick, dragAndDrop, getAttribute, getCSSProperty, getComputedRole, getComputedLabel, getHTML, getLocation, getProperty, getSize, getTagName, getText, getValue, isClickable, isDisplayed, isDisplayedInViewport, isEnabled, isEqual, isExisting, isFocused, isSelected, moveTo, nextElement, parentElement, previousElement, react$, react$$, saveScreenshot, scrollIntoView, selectByAttribute, selectByIndex, selectByVisibleText, setValue, shadow$, shadow$$, touchAction, waitForClickable, waitForDisplayed, waitForEnabled, waitForExist, waitUntil };
100
50
  //# sourceMappingURL=element.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../../src/commands/element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,cAAc,CAAA;AAC7B,OAAO,CAAC,MAAM,aAAa,CAAA;AAC3B,OAAO,QAAQ,MAAM,oBAAoB,CAAA;AACzC,OAAO,UAAU,MAAM,sBAAsB,CAAA;AAC7C,OAAO,KAAK,MAAM,iBAAiB,CAAA;AACnC,OAAO,QAAQ,MAAM,oBAAoB,CAAA;AACzC,OAAO,OAAO,MAAM,mBAAmB,CAAA;AACvC,OAAO,WAAW,MAAM,uBAAuB,CAAA;AAC/C,OAAO,WAAW,MAAM,uBAAuB,CAAA;AAC/C,OAAO,YAAY,MAAM,wBAAwB,CAAA;AACjD,OAAO,cAAc,MAAM,0BAA0B,CAAA;AACrD,OAAO,eAAe,MAAM,2BAA2B,CAAA;AACvD,OAAO,gBAAgB,MAAM,4BAA4B,CAAA;AACzD,OAAO,OAAO,MAAM,mBAAmB,CAAA;AACvC,OAAO,W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UAAU,EAAE,SAAS,EAAE,UAAU,EAC5E,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EACpF,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,mBAAmB,EAAE,QAAQ,EAC/E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAClF,YAAY,EAAE,SAAS,EAC1B,CAAA"}
@@ -1,63 +1,49 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const __1 = __importDefault(require("./element/$$"));
7
- const _1 = __importDefault(require("./element/$"));
8
- const addValue_1 = __importDefault(require("./element/addValue"));
9
- const clearValue_1 = __importDefault(require("./element/clearValue"));
10
- const click_1 = __importDefault(require("./element/click"));
11
- const custom__1 = __importDefault(require("./element/custom$$"));
12
- const custom_1 = __importDefault(require("./element/custom$"));
13
- const doubleClick_1 = __importDefault(require("./element/doubleClick"));
14
- const dragAndDrop_1 = __importDefault(require("./element/dragAndDrop"));
15
- const getAttribute_1 = __importDefault(require("./element/getAttribute"));
16
- const getCSSProperty_1 = __importDefault(require("./element/getCSSProperty"));
17
- const getComputedRole_1 = __importDefault(require("./element/getComputedRole"));
18
- const getComputedLabel_1 = __importDefault(require("./element/getComputedLabel"));
19
- const getHTML_1 = __importDefault(require("./element/getHTML"));
20
- const getLocation_1 = __importDefault(require("./element/getLocation"));
21
- const getProperty_1 = __importDefault(require("./element/getProperty"));
22
- const getSize_1 = __importDefault(require("./element/getSize"));
23
- const getTagName_1 = __importDefault(require("./element/getTagName"));
24
- const getText_1 = __importDefault(require("./element/getText"));
25
- const getValue_1 = __importDefault(require("./element/getValue"));
26
- const isClickable_1 = __importDefault(require("./element/isClickable"));
27
- const isDisplayed_1 = __importDefault(require("./element/isDisplayed"));
28
- const isDisplayedInViewport_1 = __importDefault(require("./element/isDisplayedInViewport"));
29
- const isEnabled_1 = __importDefault(require("./element/isEnabled"));
30
- const isEqual_1 = __importDefault(require("./element/isEqual"));
31
- const isExisting_1 = __importDefault(require("./element/isExisting"));
32
- const isFocused_1 = __importDefault(require("./element/isFocused"));
33
- const isSelected_1 = __importDefault(require("./element/isSelected"));
34
- const moveTo_1 = __importDefault(require("./element/moveTo"));
35
- const nextElement_1 = __importDefault(require("./element/nextElement"));
36
- const parentElement_1 = __importDefault(require("./element/parentElement"));
37
- const previousElement_1 = __importDefault(require("./element/previousElement"));
38
- const react__1 = __importDefault(require("./element/react$$"));
39
- const react_1 = __importDefault(require("./element/react$"));
40
- const saveScreenshot_1 = __importDefault(require("./element/saveScreenshot"));
41
- const scrollIntoView_1 = __importDefault(require("./element/scrollIntoView"));
42
- const selectByAttribute_1 = __importDefault(require("./element/selectByAttribute"));
43
- const selectByIndex_1 = __importDefault(require("./element/selectByIndex"));
44
- const selectByVisibleText_1 = __importDefault(require("./element/selectByVisibleText"));
45
- const setValue_1 = __importDefault(require("./element/setValue"));
46
- const shadow__1 = __importDefault(require("./element/shadow$$"));
47
- const shadow_1 = __importDefault(require("./element/shadow$"));
48
- const touchAction_1 = __importDefault(require("./element/touchAction"));
49
- const waitForClickable_1 = __importDefault(require("./element/waitForClickable"));
50
- const waitForDisplayed_1 = __importDefault(require("./element/waitForDisplayed"));
51
- const waitForEnabled_1 = __importDefault(require("./element/waitForEnabled"));
52
- const waitForExist_1 = __importDefault(require("./element/waitForExist"));
53
- const waitUntil_1 = __importDefault(require("./element/waitUntil"));
54
- exports.default = {
55
- $$: __1.default, $: _1.default, addValue: addValue_1.default, clearValue: clearValue_1.default, click: click_1.default, custom$: custom_1.default, custom$$: custom__1.default, doubleClick: doubleClick_1.default, dragAndDrop: dragAndDrop_1.default,
56
- getAttribute: getAttribute_1.default, getCSSProperty: getCSSProperty_1.default, getComputedRole: getComputedRole_1.default, getComputedLabel: getComputedLabel_1.default, getHTML: getHTML_1.default, getLocation: getLocation_1.default,
57
- getProperty: getProperty_1.default, getSize: getSize_1.default, getTagName: getTagName_1.default, getText: getText_1.default, getValue: getValue_1.default, isClickable: isClickable_1.default, isDisplayed: isDisplayed_1.default,
58
- isDisplayedInViewport: isDisplayedInViewport_1.default, isEnabled: isEnabled_1.default, isEqual: isEqual_1.default, isExisting: isExisting_1.default, isFocused: isFocused_1.default, isSelected: isSelected_1.default,
59
- moveTo: moveTo_1.default, nextElement: nextElement_1.default, parentElement: parentElement_1.default, previousElement: previousElement_1.default, react$: react_1.default, react$$: react__1.default, saveScreenshot: saveScreenshot_1.default,
60
- scrollIntoView: scrollIntoView_1.default, selectByAttribute: selectByAttribute_1.default, selectByIndex: selectByIndex_1.default, selectByVisibleText: selectByVisibleText_1.default, setValue: setValue_1.default,
61
- shadow$: shadow_1.default, shadow$$: shadow__1.default, touchAction: touchAction_1.default, waitForClickable: waitForClickable_1.default, waitForDisplayed: waitForDisplayed_1.default, waitForEnabled: waitForEnabled_1.default,
62
- waitForExist: waitForExist_1.default, waitUntil: waitUntil_1.default
63
- };
1
+ import $$ from './element/$$.js';
2
+ import $ from './element/$.js';
3
+ import addValue from './element/addValue.js';
4
+ import clearValue from './element/clearValue.js';
5
+ import click from './element/click.js';
6
+ import custom$$ from './element/custom$$.js';
7
+ import custom$ from './element/custom$.js';
8
+ import doubleClick from './element/doubleClick.js';
9
+ import dragAndDrop from './element/dragAndDrop.js';
10
+ import getAttribute from './element/getAttribute.js';
11
+ import getCSSProperty from './element/getCSSProperty.js';
12
+ import getComputedRole from './element/getComputedRole.js';
13
+ import getComputedLabel from './element/getComputedLabel.js';
14
+ import getHTML from './element/getHTML.js';
15
+ import getLocation from './element/getLocation.js';
16
+ import getProperty from './element/getProperty.js';
17
+ import getSize from './element/getSize.js';
18
+ import getTagName from './element/getTagName.js';
19
+ import getText from './element/getText.js';
20
+ import getValue from './element/getValue.js';
21
+ import isClickable from './element/isClickable.js';
22
+ import isDisplayed from './element/isDisplayed.js';
23
+ import isDisplayedInViewport from './element/isDisplayedInViewport.js';
24
+ import isEnabled from './element/isEnabled.js';
25
+ import isEqual from './element/isEqual.js';
26
+ import isExisting from './element/isExisting.js';
27
+ import isFocused from './element/isFocused.js';
28
+ import isSelected from './element/isSelected.js';
29
+ import moveTo from './element/moveTo.js';
30
+ import nextElement from './element/nextElement.js';
31
+ import parentElement from './element/parentElement.js';
32
+ import previousElement from './element/previousElement.js';
33
+ import react$$ from './element/react$$.js';
34
+ import react$ from './element/react$.js';
35
+ import saveScreenshot from './element/saveScreenshot.js';
36
+ import scrollIntoView from './element/scrollIntoView.js';
37
+ import selectByAttribute from './element/selectByAttribute.js';
38
+ import selectByIndex from './element/selectByIndex.js';
39
+ import selectByVisibleText from './element/selectByVisibleText.js';
40
+ import setValue from './element/setValue.js';
41
+ import shadow$$ from './element/shadow$$.js';
42
+ import shadow$ from './element/shadow$.js';
43
+ import touchAction from './element/touchAction.js';
44
+ import waitForClickable from './element/waitForClickable.js';
45
+ import waitForDisplayed from './element/waitForDisplayed.js';
46
+ import waitForEnabled from './element/waitForEnabled.js';
47
+ import waitForExist from './element/waitForExist.js';
48
+ import waitUntil from './element/waitUntil.js';
49
+ export { $$, $, addValue, clearValue, click, custom$, custom$$, doubleClick, dragAndDrop, getAttribute, getCSSProperty, getComputedRole, getComputedLabel, getHTML, getLocation, getProperty, getSize, getTagName, getText, getValue, isClickable, isDisplayed, isDisplayedInViewport, isEnabled, isEqual, isExisting, isFocused, isSelected, moveTo, nextElement, parentElement, previousElement, react$, react$$, saveScreenshot, scrollIntoView, selectByAttribute, selectByIndex, selectByVisibleText, setValue, shadow$, shadow$$, touchAction, waitForClickable, waitForDisplayed, waitForEnabled, waitForExist, waitUntil };