webdriverio 7.21.0 → 8.0.0-alpha.239

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 (211) 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/$$.js +6 -9
  6. package/build/commands/browser/$.js +8 -11
  7. package/build/commands/browser/action.d.ts +128 -0
  8. package/build/commands/browser/action.d.ts.map +1 -0
  9. package/build/commands/browser/action.js +13 -0
  10. package/build/commands/browser/actions.d.ts +29 -0
  11. package/build/commands/browser/actions.d.ts.map +1 -0
  12. package/build/commands/browser/actions.js +30 -0
  13. package/build/commands/browser/call.js +1 -4
  14. package/build/commands/browser/custom$$.js +7 -10
  15. package/build/commands/browser/custom$.js +5 -8
  16. package/build/commands/browser/debug.js +8 -14
  17. package/build/commands/browser/deleteCookies.js +1 -4
  18. package/build/commands/browser/execute.js +3 -6
  19. package/build/commands/browser/executeAsync.js +3 -6
  20. package/build/commands/browser/getCookies.js +1 -4
  21. package/build/commands/browser/getPuppeteer.d.ts +1 -1
  22. package/build/commands/browser/getPuppeteer.d.ts.map +1 -1
  23. package/build/commands/browser/getPuppeteer.js +14 -21
  24. package/build/commands/browser/getWindowSize.js +3 -6
  25. package/build/commands/browser/keys.d.ts +20 -10
  26. package/build/commands/browser/keys.d.ts.map +1 -1
  27. package/build/commands/browser/keys.js +29 -24
  28. package/build/commands/browser/mock.d.ts +1 -1
  29. package/build/commands/browser/mock.d.ts.map +1 -1
  30. package/build/commands/browser/mock.js +12 -19
  31. package/build/commands/browser/mockClearAll.js +5 -11
  32. package/build/commands/browser/mockRestoreAll.js +5 -11
  33. package/build/commands/browser/newWindow.js +5 -11
  34. package/build/commands/browser/pause.js +1 -4
  35. package/build/commands/browser/react$$.d.ts.map +1 -1
  36. package/build/commands/browser/react$$.js +12 -16
  37. package/build/commands/browser/react$.d.ts.map +1 -1
  38. package/build/commands/browser/react$.js +10 -14
  39. package/build/commands/browser/reloadSession.js +5 -12
  40. package/build/commands/browser/savePDF.js +7 -13
  41. package/build/commands/browser/saveRecordingScreen.js +6 -12
  42. package/build/commands/browser/saveScreenshot.js +6 -12
  43. package/build/commands/browser/scroll.d.ts +25 -0
  44. package/build/commands/browser/scroll.d.ts.map +1 -0
  45. package/build/commands/browser/scroll.js +41 -0
  46. package/build/commands/browser/setCookies.js +1 -4
  47. package/build/commands/browser/setTimeout.js +1 -4
  48. package/build/commands/browser/setWindowSize.js +3 -6
  49. package/build/commands/browser/switchWindow.js +1 -4
  50. package/build/commands/browser/throttle.js +3 -6
  51. package/build/commands/browser/touchAction.d.ts +1 -1
  52. package/build/commands/browser/touchAction.d.ts.map +1 -1
  53. package/build/commands/browser/touchAction.js +3 -6
  54. package/build/commands/browser/uploadFile.d.ts +1 -1
  55. package/build/commands/browser/uploadFile.d.ts.map +1 -1
  56. package/build/commands/browser/uploadFile.js +10 -15
  57. package/build/commands/browser/url.js +3 -6
  58. package/build/commands/browser/waitUntil.js +3 -9
  59. package/build/commands/browser.d.ts +39 -33
  60. package/build/commands/browser.d.ts.map +1 -1
  61. package/build/commands/browser.js +42 -43
  62. package/build/commands/constant.d.ts +1 -1
  63. package/build/commands/constant.d.ts.map +1 -1
  64. package/build/commands/constant.js +6 -12
  65. package/build/commands/element/$$.d.ts +1 -1
  66. package/build/commands/element/$$.d.ts.map +1 -1
  67. package/build/commands/element/$$.js +2 -7
  68. package/build/commands/element/$.d.ts +1 -1
  69. package/build/commands/element/$.d.ts.map +1 -1
  70. package/build/commands/element/$.js +2 -7
  71. package/build/commands/element/addValue.d.ts +10 -14
  72. package/build/commands/element/addValue.d.ts.map +1 -1
  73. package/build/commands/element/addValue.js +23 -27
  74. package/build/commands/element/clearValue.d.ts +1 -1
  75. package/build/commands/element/clearValue.js +2 -5
  76. package/build/commands/element/click.d.ts +1 -1
  77. package/build/commands/element/click.d.ts.map +1 -1
  78. package/build/commands/element/click.js +19 -34
  79. package/build/commands/element/custom$$.js +9 -11
  80. package/build/commands/element/custom$.js +8 -10
  81. package/build/commands/element/doubleClick.d.ts.map +1 -1
  82. package/build/commands/element/doubleClick.js +11 -17
  83. package/build/commands/element/dragAndDrop.d.ts.map +1 -1
  84. package/build/commands/element/dragAndDrop.js +13 -19
  85. package/build/commands/element/getAttribute.js +1 -4
  86. package/build/commands/element/getCSSProperty.d.ts +1 -1
  87. package/build/commands/element/getCSSProperty.d.ts.map +1 -1
  88. package/build/commands/element/getCSSProperty.js +7 -13
  89. package/build/commands/element/getComputedLabel.js +1 -4
  90. package/build/commands/element/getComputedRole.js +1 -4
  91. package/build/commands/element/getHTML.js +7 -13
  92. package/build/commands/element/getLocation.js +3 -5
  93. package/build/commands/element/getProperty.d.ts +8 -8
  94. package/build/commands/element/getProperty.d.ts.map +1 -1
  95. package/build/commands/element/getProperty.js +5 -11
  96. package/build/commands/element/getSize.js +3 -5
  97. package/build/commands/element/getTagName.js +1 -4
  98. package/build/commands/element/getText.js +1 -4
  99. package/build/commands/element/getValue.js +1 -4
  100. package/build/commands/element/isClickable.js +7 -13
  101. package/build/commands/element/isDisplayed.js +9 -16
  102. package/build/commands/element/isDisplayedInViewport.js +7 -13
  103. package/build/commands/element/isEnabled.js +1 -4
  104. package/build/commands/element/isEqual.d.ts.map +1 -1
  105. package/build/commands/element/isEqual.js +9 -9
  106. package/build/commands/element/isExisting.js +1 -4
  107. package/build/commands/element/isFocused.js +7 -13
  108. package/build/commands/element/isSelected.js +1 -4
  109. package/build/commands/element/moveTo.d.ts.map +1 -1
  110. package/build/commands/element/moveTo.js +8 -13
  111. package/build/commands/element/nextElement.js +2 -5
  112. package/build/commands/element/parentElement.js +2 -5
  113. package/build/commands/element/previousElement.js +2 -5
  114. package/build/commands/element/react$$.d.ts.map +1 -1
  115. package/build/commands/element/react$$.js +13 -16
  116. package/build/commands/element/react$.d.ts.map +1 -1
  117. package/build/commands/element/react$.js +12 -14
  118. package/build/commands/element/saveScreenshot.js +6 -12
  119. package/build/commands/element/scrollIntoView.d.ts +3 -2
  120. package/build/commands/element/scrollIntoView.d.ts.map +1 -1
  121. package/build/commands/element/scrollIntoView.js +32 -12
  122. package/build/commands/element/selectByAttribute.js +3 -6
  123. package/build/commands/element/selectByIndex.js +3 -6
  124. package/build/commands/element/selectByVisibleText.js +3 -6
  125. package/build/commands/element/setValue.d.ts +13 -14
  126. package/build/commands/element/setValue.d.ts.map +1 -1
  127. package/build/commands/element/setValue.js +14 -17
  128. package/build/commands/element/shadow$$.d.ts +1 -1
  129. package/build/commands/element/shadow$$.d.ts.map +1 -1
  130. package/build/commands/element/shadow$$.js +3 -6
  131. package/build/commands/element/shadow$.js +3 -6
  132. package/build/commands/element/touchAction.js +3 -6
  133. package/build/commands/element/waitForClickable.js +1 -4
  134. package/build/commands/element/waitForDisplayed.js +1 -4
  135. package/build/commands/element/waitForEnabled.js +1 -4
  136. package/build/commands/element/waitForExist.js +1 -4
  137. package/build/commands/element/waitUntil.d.ts +1 -1
  138. package/build/commands/element/waitUntil.d.ts.map +1 -1
  139. package/build/commands/element/waitUntil.js +2 -7
  140. package/build/commands/element.d.ts +48 -48
  141. package/build/commands/element.d.ts.map +1 -1
  142. package/build/commands/element.js +57 -62
  143. package/build/constants.d.ts +66 -0
  144. package/build/constants.d.ts.map +1 -1
  145. package/build/constants.js +91 -12
  146. package/build/index.d.ts +64 -5
  147. package/build/index.d.ts.map +1 -1
  148. package/build/index.js +47 -85
  149. package/build/middlewares.d.ts +1 -1
  150. package/build/middlewares.js +11 -19
  151. package/build/multiremote.js +12 -20
  152. package/build/protocol-stub.d.ts.map +1 -1
  153. package/build/protocol-stub.js +4 -6
  154. package/build/scripts/getHTML.js +1 -4
  155. package/build/scripts/getProperty.d.ts +8 -8
  156. package/build/scripts/getProperty.d.ts.map +1 -1
  157. package/build/scripts/getProperty.js +1 -4
  158. package/build/scripts/isElementClickable.js +1 -4
  159. package/build/scripts/isElementDisplayed.js +1 -4
  160. package/build/scripts/isElementInViewport.js +1 -4
  161. package/build/scripts/isFocused.js +1 -4
  162. package/build/scripts/newWindow.js +1 -4
  163. package/build/scripts/resq.js +3 -9
  164. package/build/scripts/shadowFnFactory.js +2 -6
  165. package/build/types.d.ts +1 -5
  166. package/build/types.d.ts.map +1 -1
  167. package/build/types.js +1 -2
  168. package/build/utils/SevereServiceError.js +1 -4
  169. package/build/utils/Timer.d.ts.map +1 -1
  170. package/build/utils/Timer.js +1 -25
  171. package/build/utils/actions/base.d.ts +32 -0
  172. package/build/utils/actions/base.d.ts.map +1 -0
  173. package/build/utils/actions/base.js +78 -0
  174. package/build/utils/actions/index.d.ts +6 -0
  175. package/build/utils/actions/index.d.ts.map +1 -0
  176. package/build/utils/actions/index.js +5 -0
  177. package/build/utils/actions/key.d.ts +15 -0
  178. package/build/utils/actions/key.d.ts.map +1 -0
  179. package/build/utils/actions/key.js +22 -0
  180. package/build/utils/actions/pointer.d.ts +62 -0
  181. package/build/utils/actions/pointer.d.ts.map +1 -0
  182. package/build/utils/actions/pointer.js +76 -0
  183. package/build/utils/actions/wheel.d.ts +36 -0
  184. package/build/utils/actions/wheel.d.ts.map +1 -0
  185. package/build/utils/actions/wheel.js +20 -0
  186. package/build/utils/detectBackend.d.ts +1 -1
  187. package/build/utils/detectBackend.d.ts.map +1 -1
  188. package/build/utils/detectBackend.js +3 -7
  189. package/build/utils/findStrategy.js +11 -19
  190. package/build/utils/getElementObject.d.ts.map +1 -1
  191. package/build/utils/getElementObject.js +42 -31
  192. package/build/utils/implicitWait.js +3 -9
  193. package/build/utils/index.d.ts +2 -6
  194. package/build/utils/index.d.ts.map +1 -1
  195. package/build/utils/index.js +92 -142
  196. package/build/utils/interception/devtools.d.ts +1 -1
  197. package/build/utils/interception/devtools.d.ts.map +1 -1
  198. package/build/utils/interception/devtools.js +17 -23
  199. package/build/utils/interception/index.d.ts +2 -2
  200. package/build/utils/interception/index.d.ts.map +1 -1
  201. package/build/utils/interception/index.js +5 -11
  202. package/build/utils/interception/types.d.ts +1 -1
  203. package/build/utils/interception/types.d.ts.map +1 -1
  204. package/build/utils/interception/types.js +1 -2
  205. package/build/utils/interception/webdriver.d.ts +1 -1
  206. package/build/utils/interception/webdriver.d.ts.map +1 -1
  207. package/build/utils/interception/webdriver.js +5 -11
  208. package/build/utils/refetchElement.js +3 -9
  209. package/package.json +22 -11
  210. package/async.d.ts +0 -24
  211. package/sync.d.ts +0 -24
@@ -1,10 +1,5 @@
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 fs_1 = __importDefault(require("fs"));
7
- const utils_1 = require("../../utils");
1
+ import fs from 'node:fs';
2
+ import { getAbsoluteFilepath, assertDirectoryExists } from '../../utils/index.js';
8
3
  /**
9
4
  *
10
5
  * Save a screenshot of an element to a PNG file on your OS.
@@ -23,18 +18,17 @@ const utils_1 = require("../../utils");
23
18
  * @type utility
24
19
  *
25
20
  */
26
- async function saveScreenshot(filepath) {
21
+ export default async function saveScreenshot(filepath) {
27
22
  /**
28
23
  * type check
29
24
  */
30
25
  if (typeof filepath !== 'string' || !filepath.endsWith('.png')) {
31
26
  throw new Error('saveScreenshot expects a filepath of type string and ".png" file ending');
32
27
  }
33
- const absoluteFilepath = (0, utils_1.getAbsoluteFilepath)(filepath);
34
- (0, utils_1.assertDirectoryExists)(absoluteFilepath);
28
+ const absoluteFilepath = getAbsoluteFilepath(filepath);
29
+ assertDirectoryExists(absoluteFilepath);
35
30
  const screenBuffer = await this.takeElementScreenshot(this.elementId);
36
31
  const screenshot = Buffer.from(screenBuffer, 'base64');
37
- fs_1.default.writeFileSync(absoluteFilepath, screenshot);
32
+ fs.writeFileSync(absoluteFilepath, screenshot);
38
33
  return screenshot;
39
34
  }
40
- exports.default = saveScreenshot;
@@ -8,14 +8,15 @@
8
8
  const elem = await $('#myElement');
9
9
  // scroll to specific element
10
10
  await elem.scrollIntoView();
11
+ // center element within the viewport
12
+ await elem.scrollIntoView({ block: 'center', inline: 'center' });
11
13
  });
12
14
  * </example>
13
15
  *
14
16
  * @alias element.scrollIntoView
15
- * @param {object|boolean=} scrollIntoViewOptions options for `Element.scrollIntoView()` (default: `true`)
16
17
  * @uses protocol/execute
17
18
  * @type utility
18
19
  *
19
20
  */
20
- export default function scrollIntoView(this: WebdriverIO.Element, scrollIntoViewOptions?: boolean | ScrollIntoViewOptions): Promise<void>;
21
+ export default function scrollIntoView(this: WebdriverIO.Element, options?: ScrollIntoViewOptions | boolean): Promise<void>;
21
22
  //# sourceMappingURL=scrollIntoView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrollIntoView.d.ts","sourceRoot":"","sources":["../../../src/commands/element/scrollIntoView.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAClC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,qBAAqB,GAAE,OAAO,GAAG,qBAA4B,iBAQhE"}
1
+ {"version":3,"file":"scrollIntoView.d.ts","sourceRoot":"","sources":["../../../src/commands/element/scrollIntoView.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAA8B,cAAc,CACxC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,OAAO,GAAE,qBAAqB,GAAG,OAA+C,iBA8BnF"}
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const constants_1 = require("../../constants");
1
+ import { getBrowserObject } from '../../utils/index.js';
4
2
  /**
5
3
  *
6
4
  * Scroll element into viewport ([MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)).
@@ -11,21 +9,43 @@ const constants_1 = require("../../constants");
11
9
  const elem = await $('#myElement');
12
10
  // scroll to specific element
13
11
  await elem.scrollIntoView();
12
+ // center element within the viewport
13
+ await elem.scrollIntoView({ block: 'center', inline: 'center' });
14
14
  });
15
15
  * </example>
16
16
  *
17
17
  * @alias element.scrollIntoView
18
- * @param {object|boolean=} scrollIntoViewOptions options for `Element.scrollIntoView()` (default: `true`)
19
18
  * @uses protocol/execute
20
19
  * @type utility
21
20
  *
22
21
  */
23
- function scrollIntoView(scrollIntoViewOptions = true) {
24
- return this.parent.execute(/* istanbul ignore next */ function (elem, options) {
25
- elem.scrollIntoView(options);
26
- }, {
27
- [constants_1.ELEMENT_KEY]: this.elementId,
28
- ELEMENT: this.elementId // jsonwp compatible
29
- }, scrollIntoViewOptions);
22
+ export default async function scrollIntoView(options = { block: 'start', inline: 'nearest' }) {
23
+ const browser = getBrowserObject(this);
24
+ let deltaX = 0;
25
+ let deltaY = 0;
26
+ /**
27
+ * by default the WebDriver action scrolls the element just into the
28
+ * viewport. In order to stay complaint with `Element.scrollIntoView()`
29
+ * we need to adjust the values a bit.
30
+ */
31
+ if (typeof options === 'boolean' || typeof options.block === 'string' || typeof options.inline === 'string') {
32
+ const htmlElem = await browser.$('html');
33
+ const viewport = await htmlElem.getSize();
34
+ const elemSize = await this.getSize();
35
+ if (options === true || options.block === 'start') {
36
+ deltaY += viewport.height - elemSize.height;
37
+ }
38
+ else if (options.block === 'center') {
39
+ deltaY += Math.round((viewport.height - elemSize.height) / 2);
40
+ }
41
+ if (options.inline === 'start') {
42
+ deltaX += viewport.height - elemSize.height;
43
+ }
44
+ else if (options.block === 'center') {
45
+ deltaX += Math.round((viewport.height - elemSize.height) / 2);
46
+ }
47
+ }
48
+ return browser.action('wheel')
49
+ .scroll({ origin: this, duration: 200, deltaY, deltaX })
50
+ .perform();
30
51
  }
31
- exports.default = scrollIntoView;
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const utils_1 = require("../../utils");
1
+ import { getElementFromResponse } from '../../utils/index.js';
4
2
  /**
5
3
  *
6
4
  * Select option with a specific value.
@@ -36,7 +34,7 @@ const utils_1 = require("../../utils");
36
34
  * @type action
37
35
  *
38
36
  */
39
- async function selectByAttribute(attribute, value) {
37
+ export default async function selectByAttribute(attribute, value) {
40
38
  /**
41
39
  * convert value into string
42
40
  */
@@ -54,6 +52,5 @@ async function selectByAttribute(attribute, value) {
54
52
  /**
55
53
  * select option
56
54
  */
57
- return this.elementClick((0, utils_1.getElementFromResponse)(optionElement));
55
+ return this.elementClick(getElementFromResponse(optionElement));
58
56
  }
59
- exports.default = selectByAttribute;
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const utils_1 = require("../../utils");
1
+ import { getElementFromResponse } from '../../utils/index.js';
4
2
  /**
5
3
  *
6
4
  * Select option with a specific index.
@@ -30,7 +28,7 @@ const utils_1 = require("../../utils");
30
28
  * @type action
31
29
  *
32
30
  */
33
- async function selectByIndex(index) {
31
+ export default async function selectByIndex(index) {
34
32
  /**
35
33
  * negative index check
36
34
  */
@@ -50,6 +48,5 @@ async function selectByIndex(index) {
50
48
  /**
51
49
  * select option
52
50
  */
53
- return this.elementClick((0, utils_1.getElementFromResponse)(optionElements[index]));
51
+ return this.elementClick(getElementFromResponse(optionElements[index]));
54
52
  }
55
- exports.default = selectByIndex;
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const utils_1 = require("../../utils");
1
+ import { getElementFromResponse } from '../../utils/index.js';
4
2
  /**
5
3
  *
6
4
  * Select option with displayed text matching the argument.
@@ -30,7 +28,7 @@ const utils_1 = require("../../utils");
30
28
  * @type action
31
29
  *
32
30
  */
33
- async function selectByVisibleText(text) {
31
+ export default async function selectByVisibleText(text) {
34
32
  /**
35
33
  * convert value into string
36
34
  */
@@ -61,6 +59,5 @@ async function selectByVisibleText(text) {
61
59
  /**
62
60
  * select option
63
61
  */
64
- return this.elementClick((0, utils_1.getElementFromResponse)(optionElement));
62
+ return this.elementClick(getElementFromResponse(optionElement));
65
63
  }
66
- exports.default = selectByVisibleText;
@@ -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;
@@ -44,6 +44,6 @@
44
44
  * @type utility
45
45
  *
46
46
  */
47
- import waitUntil from '../browser/waitUntil';
47
+ import waitUntil from '../browser/waitUntil.js';
48
48
  export default waitUntil;
49
49
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,OAAO,SAAS,MAAM,yBAAyB,CAAA;AAC/C,eAAe,SAAS,CAAA"}
@@ -1,8 +1,3 @@
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
@@ -49,5 +44,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
49
44
  * @type utility
50
45
  *
51
46
  */
52
- const waitUntil_1 = __importDefault(require("../browser/waitUntil"));
53
- exports.default = waitUntil_1.default;
47
+ import waitUntil from '../browser/waitUntil.js';
48
+ export default waitUntil;
@@ -1,51 +1,51 @@
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';
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
49
  declare const _default: {
50
50
  $$: typeof $$;
51
51
  $: typeof $;
@@ -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,WAAW,MAAM,uBAAuB,CAAA;AAC/C,OAAO,WAAW,MAAM,uBAAuB,CAAA;AAC/C,OAAO,OAAO,MAAM,mBAAmB,CAAA;AACvC,OAAO,UAAU,MAAM,sBAAsB,CAAA;AAC7C,O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