webdriverio 8.1.2 → 8.2.0

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 (267) hide show
  1. package/build/commands/browser/$$.d.ts +1 -1
  2. package/build/commands/browser/$$.d.ts.map +1 -1
  3. package/build/commands/browser/$$.js +1 -1
  4. package/build/commands/browser/$.d.ts +1 -1
  5. package/build/commands/browser/$.d.ts.map +1 -1
  6. package/build/commands/browser/$.js +1 -1
  7. package/build/commands/browser/action.d.ts +3 -3
  8. package/build/commands/browser/action.d.ts.map +1 -1
  9. package/build/commands/browser/action.js +1 -1
  10. package/build/commands/browser/actions.d.ts +1 -1
  11. package/build/commands/browser/actions.d.ts.map +1 -1
  12. package/build/commands/browser/actions.js +1 -1
  13. package/build/commands/browser/call.d.ts +1 -1
  14. package/build/commands/browser/call.d.ts.map +1 -1
  15. package/build/commands/browser/call.js +1 -1
  16. package/build/commands/browser/custom$$.d.ts +1 -1
  17. package/build/commands/browser/custom$$.d.ts.map +1 -1
  18. package/build/commands/browser/custom$$.js +1 -1
  19. package/build/commands/browser/custom$.d.ts +1 -1
  20. package/build/commands/browser/custom$.d.ts.map +1 -1
  21. package/build/commands/browser/custom$.js +1 -1
  22. package/build/commands/browser/debug.d.ts +1 -1
  23. package/build/commands/browser/debug.d.ts.map +1 -1
  24. package/build/commands/browser/debug.js +1 -1
  25. package/build/commands/browser/deleteCookies.d.ts +1 -1
  26. package/build/commands/browser/deleteCookies.d.ts.map +1 -1
  27. package/build/commands/browser/deleteCookies.js +1 -1
  28. package/build/commands/browser/execute.d.ts +1 -1
  29. package/build/commands/browser/execute.d.ts.map +1 -1
  30. package/build/commands/browser/execute.js +1 -1
  31. package/build/commands/browser/executeAsync.d.ts +1 -1
  32. package/build/commands/browser/executeAsync.d.ts.map +1 -1
  33. package/build/commands/browser/executeAsync.js +1 -1
  34. package/build/commands/browser/getCookies.d.ts +1 -1
  35. package/build/commands/browser/getCookies.d.ts.map +1 -1
  36. package/build/commands/browser/getCookies.js +1 -1
  37. package/build/commands/browser/getPuppeteer.d.ts +1 -1
  38. package/build/commands/browser/getPuppeteer.d.ts.map +1 -1
  39. package/build/commands/browser/getPuppeteer.js +1 -1
  40. package/build/commands/browser/getWindowSize.d.ts +1 -1
  41. package/build/commands/browser/getWindowSize.d.ts.map +1 -1
  42. package/build/commands/browser/getWindowSize.js +1 -1
  43. package/build/commands/browser/keys.d.ts +1 -1
  44. package/build/commands/browser/keys.d.ts.map +1 -1
  45. package/build/commands/browser/keys.js +1 -1
  46. package/build/commands/browser/mock.d.ts +1 -1
  47. package/build/commands/browser/mock.d.ts.map +1 -1
  48. package/build/commands/browser/mock.js +1 -1
  49. package/build/commands/browser/mockClearAll.d.ts +1 -1
  50. package/build/commands/browser/mockClearAll.d.ts.map +1 -1
  51. package/build/commands/browser/mockClearAll.js +1 -1
  52. package/build/commands/browser/mockRestoreAll.d.ts +1 -1
  53. package/build/commands/browser/mockRestoreAll.d.ts.map +1 -1
  54. package/build/commands/browser/mockRestoreAll.js +1 -1
  55. package/build/commands/browser/newWindow.d.ts +1 -1
  56. package/build/commands/browser/newWindow.d.ts.map +1 -1
  57. package/build/commands/browser/newWindow.js +1 -1
  58. package/build/commands/browser/pause.d.ts +1 -1
  59. package/build/commands/browser/pause.d.ts.map +1 -1
  60. package/build/commands/browser/pause.js +1 -1
  61. package/build/commands/browser/react$$.d.ts +1 -1
  62. package/build/commands/browser/react$$.d.ts.map +1 -1
  63. package/build/commands/browser/react$$.js +1 -1
  64. package/build/commands/browser/react$.d.ts +1 -1
  65. package/build/commands/browser/react$.d.ts.map +1 -1
  66. package/build/commands/browser/react$.js +1 -1
  67. package/build/commands/browser/reloadSession.d.ts +1 -1
  68. package/build/commands/browser/reloadSession.d.ts.map +1 -1
  69. package/build/commands/browser/reloadSession.js +1 -1
  70. package/build/commands/browser/savePDF.d.ts +1 -1
  71. package/build/commands/browser/savePDF.d.ts.map +1 -1
  72. package/build/commands/browser/savePDF.js +1 -1
  73. package/build/commands/browser/saveRecordingScreen.d.ts +1 -1
  74. package/build/commands/browser/saveRecordingScreen.d.ts.map +1 -1
  75. package/build/commands/browser/saveRecordingScreen.js +1 -1
  76. package/build/commands/browser/saveScreenshot.d.ts +1 -1
  77. package/build/commands/browser/saveScreenshot.d.ts.map +1 -1
  78. package/build/commands/browser/saveScreenshot.js +1 -1
  79. package/build/commands/browser/scroll.d.ts +1 -1
  80. package/build/commands/browser/scroll.d.ts.map +1 -1
  81. package/build/commands/browser/scroll.js +1 -1
  82. package/build/commands/browser/setCookies.d.ts +1 -1
  83. package/build/commands/browser/setCookies.d.ts.map +1 -1
  84. package/build/commands/browser/setCookies.js +1 -1
  85. package/build/commands/browser/setTimeout.d.ts +1 -1
  86. package/build/commands/browser/setTimeout.d.ts.map +1 -1
  87. package/build/commands/browser/setTimeout.js +1 -1
  88. package/build/commands/browser/setWindowSize.d.ts +1 -1
  89. package/build/commands/browser/setWindowSize.d.ts.map +1 -1
  90. package/build/commands/browser/setWindowSize.js +1 -1
  91. package/build/commands/browser/switchWindow.d.ts +1 -1
  92. package/build/commands/browser/switchWindow.d.ts.map +1 -1
  93. package/build/commands/browser/switchWindow.js +1 -1
  94. package/build/commands/browser/throttle.d.ts +1 -1
  95. package/build/commands/browser/throttle.d.ts.map +1 -1
  96. package/build/commands/browser/throttle.js +1 -1
  97. package/build/commands/browser/touchAction.d.ts +1 -1
  98. package/build/commands/browser/touchAction.d.ts.map +1 -1
  99. package/build/commands/browser/touchAction.js +1 -1
  100. package/build/commands/browser/uploadFile.d.ts +1 -1
  101. package/build/commands/browser/uploadFile.d.ts.map +1 -1
  102. package/build/commands/browser/uploadFile.js +1 -1
  103. package/build/commands/browser/url.d.ts +1 -1
  104. package/build/commands/browser/url.d.ts.map +1 -1
  105. package/build/commands/browser/url.js +1 -1
  106. package/build/commands/browser/waitUntil.d.ts +1 -1
  107. package/build/commands/browser/waitUntil.d.ts.map +1 -1
  108. package/build/commands/browser/waitUntil.js +1 -1
  109. package/build/commands/browser.d.ts +36 -37
  110. package/build/commands/browser.d.ts.map +1 -1
  111. package/build/commands/browser.js +36 -37
  112. package/build/commands/element/$$.d.ts +2 -2
  113. package/build/commands/element/$$.d.ts.map +1 -1
  114. package/build/commands/element/$$.js +2 -2
  115. package/build/commands/element/$.d.ts +2 -2
  116. package/build/commands/element/$.d.ts.map +1 -1
  117. package/build/commands/element/$.js +2 -2
  118. package/build/commands/element/addValue.d.ts +1 -1
  119. package/build/commands/element/addValue.d.ts.map +1 -1
  120. package/build/commands/element/addValue.js +1 -1
  121. package/build/commands/element/clearValue.d.ts +1 -1
  122. package/build/commands/element/clearValue.d.ts.map +1 -1
  123. package/build/commands/element/clearValue.js +1 -1
  124. package/build/commands/element/click.d.ts +1 -1
  125. package/build/commands/element/click.d.ts.map +1 -1
  126. package/build/commands/element/click.js +1 -1
  127. package/build/commands/element/custom$$.d.ts +1 -2
  128. package/build/commands/element/custom$$.d.ts.map +1 -1
  129. package/build/commands/element/custom$$.js +1 -2
  130. package/build/commands/element/custom$.d.ts +1 -2
  131. package/build/commands/element/custom$.d.ts.map +1 -1
  132. package/build/commands/element/custom$.js +1 -2
  133. package/build/commands/element/doubleClick.d.ts +1 -1
  134. package/build/commands/element/doubleClick.d.ts.map +1 -1
  135. package/build/commands/element/doubleClick.js +1 -1
  136. package/build/commands/element/dragAndDrop.d.ts +1 -1
  137. package/build/commands/element/dragAndDrop.d.ts.map +1 -1
  138. package/build/commands/element/dragAndDrop.js +1 -1
  139. package/build/commands/element/getAttribute.d.ts +1 -1
  140. package/build/commands/element/getAttribute.d.ts.map +1 -1
  141. package/build/commands/element/getAttribute.js +1 -1
  142. package/build/commands/element/getCSSProperty.d.ts +1 -1
  143. package/build/commands/element/getCSSProperty.d.ts.map +1 -1
  144. package/build/commands/element/getCSSProperty.js +1 -1
  145. package/build/commands/element/getComputedLabel.d.ts +1 -1
  146. package/build/commands/element/getComputedLabel.d.ts.map +1 -1
  147. package/build/commands/element/getComputedLabel.js +1 -1
  148. package/build/commands/element/getComputedRole.d.ts +1 -1
  149. package/build/commands/element/getComputedRole.d.ts.map +1 -1
  150. package/build/commands/element/getComputedRole.js +1 -1
  151. package/build/commands/element/getHTML.d.ts +1 -1
  152. package/build/commands/element/getHTML.d.ts.map +1 -1
  153. package/build/commands/element/getHTML.js +1 -1
  154. package/build/commands/element/getLocation.d.ts +2 -3
  155. package/build/commands/element/getLocation.d.ts.map +1 -1
  156. package/build/commands/element/getLocation.js +1 -2
  157. package/build/commands/element/getProperty.d.ts +1 -1
  158. package/build/commands/element/getProperty.d.ts.map +1 -1
  159. package/build/commands/element/getProperty.js +1 -1
  160. package/build/commands/element/getSize.d.ts +2 -3
  161. package/build/commands/element/getSize.d.ts.map +1 -1
  162. package/build/commands/element/getSize.js +1 -2
  163. package/build/commands/element/getTagName.d.ts +1 -1
  164. package/build/commands/element/getTagName.d.ts.map +1 -1
  165. package/build/commands/element/getTagName.js +1 -1
  166. package/build/commands/element/getText.d.ts +1 -1
  167. package/build/commands/element/getText.d.ts.map +1 -1
  168. package/build/commands/element/getText.js +1 -1
  169. package/build/commands/element/getValue.d.ts +1 -2
  170. package/build/commands/element/getValue.d.ts.map +1 -1
  171. package/build/commands/element/getValue.js +1 -2
  172. package/build/commands/element/isClickable.d.ts +1 -1
  173. package/build/commands/element/isClickable.d.ts.map +1 -1
  174. package/build/commands/element/isClickable.js +1 -1
  175. package/build/commands/element/isDisplayed.d.ts +1 -1
  176. package/build/commands/element/isDisplayed.d.ts.map +1 -1
  177. package/build/commands/element/isDisplayed.js +1 -1
  178. package/build/commands/element/isDisplayedInViewport.d.ts +1 -1
  179. package/build/commands/element/isDisplayedInViewport.d.ts.map +1 -1
  180. package/build/commands/element/isDisplayedInViewport.js +1 -1
  181. package/build/commands/element/isEnabled.d.ts +1 -1
  182. package/build/commands/element/isEnabled.d.ts.map +1 -1
  183. package/build/commands/element/isEnabled.js +1 -1
  184. package/build/commands/element/isEqual.d.ts +1 -1
  185. package/build/commands/element/isEqual.d.ts.map +1 -1
  186. package/build/commands/element/isEqual.js +1 -1
  187. package/build/commands/element/isExisting.d.ts +1 -1
  188. package/build/commands/element/isExisting.d.ts.map +1 -1
  189. package/build/commands/element/isExisting.js +1 -1
  190. package/build/commands/element/isFocused.d.ts +1 -1
  191. package/build/commands/element/isFocused.d.ts.map +1 -1
  192. package/build/commands/element/isFocused.js +1 -1
  193. package/build/commands/element/isSelected.d.ts +1 -1
  194. package/build/commands/element/isSelected.d.ts.map +1 -1
  195. package/build/commands/element/isSelected.js +1 -1
  196. package/build/commands/element/moveTo.d.ts +1 -1
  197. package/build/commands/element/moveTo.d.ts.map +1 -1
  198. package/build/commands/element/moveTo.js +1 -1
  199. package/build/commands/element/nextElement.d.ts +1 -2
  200. package/build/commands/element/nextElement.d.ts.map +1 -1
  201. package/build/commands/element/nextElement.js +1 -1
  202. package/build/commands/element/parentElement.d.ts +1 -2
  203. package/build/commands/element/parentElement.d.ts.map +1 -1
  204. package/build/commands/element/parentElement.js +1 -1
  205. package/build/commands/element/previousElement.d.ts +1 -2
  206. package/build/commands/element/previousElement.d.ts.map +1 -1
  207. package/build/commands/element/previousElement.js +1 -1
  208. package/build/commands/element/react$$.d.ts +1 -1
  209. package/build/commands/element/react$$.d.ts.map +1 -1
  210. package/build/commands/element/react$$.js +1 -1
  211. package/build/commands/element/react$.d.ts +1 -1
  212. package/build/commands/element/react$.d.ts.map +1 -1
  213. package/build/commands/element/react$.js +1 -1
  214. package/build/commands/element/saveScreenshot.d.ts +1 -1
  215. package/build/commands/element/saveScreenshot.d.ts.map +1 -1
  216. package/build/commands/element/saveScreenshot.js +1 -1
  217. package/build/commands/element/scrollIntoView.d.ts +1 -1
  218. package/build/commands/element/scrollIntoView.d.ts.map +1 -1
  219. package/build/commands/element/scrollIntoView.js +1 -1
  220. package/build/commands/element/selectByAttribute.d.ts +1 -1
  221. package/build/commands/element/selectByAttribute.d.ts.map +1 -1
  222. package/build/commands/element/selectByAttribute.js +1 -1
  223. package/build/commands/element/selectByIndex.d.ts +1 -1
  224. package/build/commands/element/selectByIndex.d.ts.map +1 -1
  225. package/build/commands/element/selectByIndex.js +1 -1
  226. package/build/commands/element/selectByVisibleText.d.ts +1 -1
  227. package/build/commands/element/selectByVisibleText.d.ts.map +1 -1
  228. package/build/commands/element/selectByVisibleText.js +1 -1
  229. package/build/commands/element/setValue.d.ts +1 -1
  230. package/build/commands/element/setValue.d.ts.map +1 -1
  231. package/build/commands/element/setValue.js +1 -1
  232. package/build/commands/element/shadow$$.d.ts +1 -1
  233. package/build/commands/element/shadow$$.d.ts.map +1 -1
  234. package/build/commands/element/shadow$$.js +1 -1
  235. package/build/commands/element/shadow$.d.ts +1 -1
  236. package/build/commands/element/shadow$.d.ts.map +1 -1
  237. package/build/commands/element/shadow$.js +1 -1
  238. package/build/commands/element/touchAction.d.ts +1 -1
  239. package/build/commands/element/touchAction.d.ts.map +1 -1
  240. package/build/commands/element/touchAction.js +1 -1
  241. package/build/commands/element/waitForClickable.d.ts +1 -1
  242. package/build/commands/element/waitForClickable.d.ts.map +1 -1
  243. package/build/commands/element/waitForClickable.js +1 -1
  244. package/build/commands/element/waitForDisplayed.d.ts +1 -1
  245. package/build/commands/element/waitForDisplayed.d.ts.map +1 -1
  246. package/build/commands/element/waitForDisplayed.js +1 -1
  247. package/build/commands/element/waitForEnabled.d.ts +1 -1
  248. package/build/commands/element/waitForEnabled.d.ts.map +1 -1
  249. package/build/commands/element/waitForEnabled.js +1 -1
  250. package/build/commands/element/waitForExist.d.ts +1 -1
  251. package/build/commands/element/waitForExist.d.ts.map +1 -1
  252. package/build/commands/element/waitForExist.js +1 -1
  253. package/build/commands/element/waitUntil.d.ts +2 -2
  254. package/build/commands/element/waitUntil.d.ts.map +1 -1
  255. package/build/commands/element/waitUntil.js +2 -2
  256. package/build/commands/element.d.ts +48 -49
  257. package/build/commands/element.d.ts.map +1 -1
  258. package/build/commands/element.js +48 -49
  259. package/build/multiremote.d.ts +3 -11
  260. package/build/multiremote.d.ts.map +1 -1
  261. package/build/multiremote.js +27 -13
  262. package/build/types.d.ts +43 -63
  263. package/build/types.d.ts.map +1 -1
  264. package/build/utils/actions/pointer.d.ts +1 -1
  265. package/build/utils/index.d.ts.map +1 -1
  266. package/build/utils/index.js +5 -2
  267. package/package.json +10 -10
@@ -1 +1 @@
1
- {"version":3,"file":"nextElement.d.ts","sourceRoot":"","sources":["../../../src/commands/element/nextElement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,IAAI,EAAE,WAAW,CAAC,OAAO,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC,CAI5G"}
1
+ {"version":3,"file":"nextElement.d.ts","sourceRoot":"","sources":["../../../src/commands/element/nextElement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,wBAAgB,WAAW,CAAE,IAAI,EAAE,WAAW,CAAC,OAAO,yEAIrD"}
@@ -21,7 +21,7 @@
21
21
  * @return {Element}
22
22
  * @type utility
23
23
  */
24
- export default function nextElement() {
24
+ export function nextElement() {
25
25
  return this.$(/* istanbul ignore next */ function nextElement() {
26
26
  return this.nextElementSibling;
27
27
  });
@@ -1,4 +1,3 @@
1
- import type { ChainablePromiseElement } from '../../types.js';
2
1
  /**
3
2
  *
4
3
  * Returns the parent element of the selected DOM-element.
@@ -22,5 +21,5 @@ import type { ChainablePromiseElement } from '../../types.js';
22
21
  * @return {Element}
23
22
  * @type utility
24
23
  */
25
- export default function parentElement(this: WebdriverIO.Element): ChainablePromiseElement<WebdriverIO.Element>;
24
+ export declare function parentElement(this: WebdriverIO.Element): import("../../types.js").ChainablePromiseElement<WebdriverIO.Element>;
26
25
  //# sourceMappingURL=parentElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parentElement.d.ts","sourceRoot":"","sources":["../../../src/commands/element/parentElement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAE,IAAI,EAAE,WAAW,CAAC,OAAO,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC,CAI9G"}
1
+ {"version":3,"file":"parentElement.d.ts","sourceRoot":"","sources":["../../../src/commands/element/parentElement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,aAAa,CAAE,IAAI,EAAE,WAAW,CAAC,OAAO,yEAIvD"}
@@ -21,7 +21,7 @@
21
21
  * @return {Element}
22
22
  * @type utility
23
23
  */
24
- export default function parentElement() {
24
+ export function parentElement() {
25
25
  return this.$(/* istanbul ignore next */ function parentElement() {
26
26
  return this.parentElement;
27
27
  });
@@ -1,4 +1,3 @@
1
- import type { ChainablePromiseElement } from '../../types.js';
2
1
  /**
3
2
  *
4
3
  * Returns the previous sibling element of the selected DOM-element.
@@ -22,5 +21,5 @@ import type { ChainablePromiseElement } from '../../types.js';
22
21
  * @return {Element}
23
22
  * @type utility
24
23
  */
25
- export default function previousElement(this: WebdriverIO.Element): ChainablePromiseElement<WebdriverIO.Element>;
24
+ export declare function previousElement(this: WebdriverIO.Element): import("../../types.js").ChainablePromiseElement<WebdriverIO.Element>;
26
25
  //# sourceMappingURL=previousElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"previousElement.d.ts","sourceRoot":"","sources":["../../../src/commands/element/previousElement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AAE7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAE,IAAI,EAAE,WAAW,CAAC,OAAO,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC,CAIhH"}
1
+ {"version":3,"file":"previousElement.d.ts","sourceRoot":"","sources":["../../../src/commands/element/previousElement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,eAAe,CAAE,IAAI,EAAE,WAAW,CAAC,OAAO,yEAIzD"}
@@ -21,7 +21,7 @@
21
21
  * @return {Element}
22
22
  * @type utility
23
23
  */
24
- export default function previousElement() {
24
+ export function previousElement() {
25
25
  return this.$(/* istanbul ignore next */ function previousElement() {
26
26
  return this.previousElementSibling;
27
27
  });
@@ -32,5 +32,5 @@ import type { ReactSelectorOptions } from '../../types.js';
32
32
  * @return {ElementArray}
33
33
  *
34
34
  */
35
- export default function react$$(this: WebdriverIO.Element, selector: string, { props, state }?: ReactSelectorOptions): Promise<import("../../types.js").ElementArray>;
35
+ export declare function react$$(this: WebdriverIO.Element, selector: string, { props, state }?: ReactSelectorOptions): Promise<import("../../types.js").ElementArray>;
36
36
  //# sourceMappingURL=react$$.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react$$.d.ts","sourceRoot":"","sources":["../../../src/commands/element/react$$.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAI1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAA8B,OAAO,CACjC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,QAAQ,EAAE,MAAM,EAChB,EAAE,KAAU,EAAE,KAAU,EAAE,GAAE,oBAAyB,kDAgBxD"}
1
+ {"version":3,"file":"react$$.d.ts","sourceRoot":"","sources":["../../../src/commands/element/react$$.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAI1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAsB,OAAO,CACzB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,QAAQ,EAAE,MAAM,EAChB,EAAE,KAAU,EAAE,KAAU,EAAE,GAAE,oBAAyB,kDAgBxD"}
@@ -38,7 +38,7 @@ let resqScript;
38
38
  * @return {ElementArray}
39
39
  *
40
40
  */
41
- export default async function react$$(selector, { props = {}, state = {} } = {}) {
41
+ export async function react$$(selector, { props = {}, state = {} } = {}) {
42
42
  if (!resqScript) {
43
43
  const resqScriptPath = url.fileURLToPath(await resolve('resq', import.meta.url));
44
44
  resqScript = (await fs.readFile(resqScriptPath)).toString();
@@ -42,5 +42,5 @@ import type { ReactSelectorOptions } from '../../types.js';
42
42
  * @return {Element}
43
43
  *
44
44
  */
45
- export default function react$(this: WebdriverIO.Element, selector: string, { props, state }?: ReactSelectorOptions): Promise<WebdriverIO.Element>;
45
+ export declare function react$(this: WebdriverIO.Element, selector: string, { props, state }?: ReactSelectorOptions): Promise<WebdriverIO.Element>;
46
46
  //# sourceMappingURL=react$.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react$.d.ts","sourceRoot":"","sources":["../../../src/commands/element/react$.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAI1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,wBAA8B,MAAM,CAChC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,QAAQ,EAAE,MAAM,EAChB,EAAE,KAAU,EAAE,KAAU,EAAE,GAAE,oBAAyB,gCAexD"}
1
+ {"version":3,"file":"react$.d.ts","sourceRoot":"","sources":["../../../src/commands/element/react$.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAI1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,wBAAsB,MAAM,CACxB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,QAAQ,EAAE,MAAM,EAChB,EAAE,KAAU,EAAE,KAAU,EAAE,GAAE,oBAAyB,gCAexD"}
@@ -48,7 +48,7 @@ let resqScript;
48
48
  * @return {Element}
49
49
  *
50
50
  */
51
- export default async function react$(selector, { props = {}, state = {} } = {}) {
51
+ export async function react$(selector, { props = {}, state = {} } = {}) {
52
52
  if (!resqScript) {
53
53
  const resqScriptPath = url.fileURLToPath(await resolve('resq', import.meta.url));
54
54
  resqScript = (await fs.readFile(resqScriptPath)).toString();
@@ -17,5 +17,5 @@
17
17
  * @type utility
18
18
  *
19
19
  */
20
- export default function saveScreenshot(this: WebdriverIO.Element, filepath: string): Promise<Buffer>;
20
+ export declare function saveScreenshot(this: WebdriverIO.Element, filepath: string): Promise<Buffer>;
21
21
  //# sourceMappingURL=saveScreenshot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"saveScreenshot.d.ts","sourceRoot":"","sources":["../../../src/commands/element/saveScreenshot.ts"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAA8B,cAAc,CACxC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,QAAQ,EAAE,MAAM,mBAiBnB"}
1
+ {"version":3,"file":"saveScreenshot.d.ts","sourceRoot":"","sources":["../../../src/commands/element/saveScreenshot.ts"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,cAAc,CAChC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,QAAQ,EAAE,MAAM,mBAiBnB"}
@@ -18,7 +18,7 @@ import { getAbsoluteFilepath, assertDirectoryExists } from '../../utils/index.js
18
18
  * @type utility
19
19
  *
20
20
  */
21
- export default async function saveScreenshot(filepath) {
21
+ export async function saveScreenshot(filepath) {
22
22
  /**
23
23
  * type check
24
24
  */
@@ -19,5 +19,5 @@
19
19
  * @type utility
20
20
  *
21
21
  */
22
- export default function scrollIntoView(this: WebdriverIO.Element, options?: ScrollIntoViewOptions | boolean): Promise<void>;
22
+ export declare function scrollIntoView(this: WebdriverIO.Element, options?: ScrollIntoViewOptions | boolean): Promise<void>;
23
23
  //# sourceMappingURL=scrollIntoView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrollIntoView.d.ts","sourceRoot":"","sources":["../../../src/commands/element/scrollIntoView.ts"],"names":[],"mappings":"AAsBA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAA8B,cAAc,CACxC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,OAAO,GAAE,qBAAqB,GAAG,OAA+C,iBA6CnF"}
1
+ {"version":3,"file":"scrollIntoView.d.ts","sourceRoot":"","sources":["../../../src/commands/element/scrollIntoView.ts"],"names":[],"mappings":"AAsBA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,cAAc,CAChC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,OAAO,GAAE,qBAAqB,GAAG,OAA+C,iBA6CnF"}
@@ -30,7 +30,7 @@ function scrollIntoViewWeb(options = { block: 'start', inline: 'nearest' }) {
30
30
  * @type utility
31
31
  *
32
32
  */
33
- export default async function scrollIntoView(options = { block: 'start', inline: 'nearest' }) {
33
+ export async function scrollIntoView(options = { block: 'start', inline: 'nearest' }) {
34
34
  const browser = getBrowserObject(this);
35
35
  /**
36
36
  * Appium does not support the "wheel" action
@@ -33,5 +33,5 @@
33
33
  * @type action
34
34
  *
35
35
  */
36
- export default function selectByAttribute(this: WebdriverIO.Element, attribute: string, value: string | number): Promise<void>;
36
+ export declare function selectByAttribute(this: WebdriverIO.Element, attribute: string, value: string | number): Promise<void>;
37
37
  //# sourceMappingURL=selectByAttribute.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectByAttribute.d.ts","sourceRoot":"","sources":["../../../src/commands/element/selectByAttribute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAA8B,iBAAiB,CAC3C,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GAAG,MAAM,iBA2BzB"}
1
+ {"version":3,"file":"selectByAttribute.d.ts","sourceRoot":"","sources":["../../../src/commands/element/selectByAttribute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAsB,iBAAiB,CACnC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GAAG,MAAM,iBA2BzB"}
@@ -34,7 +34,7 @@ import { getElementFromResponse } from '../../utils/index.js';
34
34
  * @type action
35
35
  *
36
36
  */
37
- export default async function selectByAttribute(attribute, value) {
37
+ export async function selectByAttribute(attribute, value) {
38
38
  /**
39
39
  * convert value into string
40
40
  */
@@ -27,5 +27,5 @@
27
27
  * @type action
28
28
  *
29
29
  */
30
- export default function selectByIndex(this: WebdriverIO.Element, index: number): Promise<void>;
30
+ export declare function selectByIndex(this: WebdriverIO.Element, index: number): Promise<void>;
31
31
  //# sourceMappingURL=selectByIndex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectByIndex.d.ts","sourceRoot":"","sources":["../../../src/commands/element/selectByIndex.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAA8B,aAAa,CACvC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,KAAK,EAAE,MAAM,iBA0BhB"}
1
+ {"version":3,"file":"selectByIndex.d.ts","sourceRoot":"","sources":["../../../src/commands/element/selectByIndex.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAsB,aAAa,CAC/B,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,KAAK,EAAE,MAAM,iBA0BhB"}
@@ -28,7 +28,7 @@ import { getElementFromResponse } from '../../utils/index.js';
28
28
  * @type action
29
29
  *
30
30
  */
31
- export default async function selectByIndex(index) {
31
+ export async function selectByIndex(index) {
32
32
  /**
33
33
  * negative index check
34
34
  */
@@ -27,5 +27,5 @@
27
27
  * @type action
28
28
  *
29
29
  */
30
- export default function selectByVisibleText(this: WebdriverIO.Element, text: string | number): Promise<void>;
30
+ export declare function selectByVisibleText(this: WebdriverIO.Element, text: string | number): Promise<void>;
31
31
  //# sourceMappingURL=selectByVisibleText.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectByVisibleText.d.ts","sourceRoot":"","sources":["../../../src/commands/element/selectByVisibleText.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAA8B,mBAAmB,CAC7C,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,IAAI,EAAE,MAAM,GAAG,MAAM,iBAuCxB"}
1
+ {"version":3,"file":"selectByVisibleText.d.ts","sourceRoot":"","sources":["../../../src/commands/element/selectByVisibleText.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAsB,mBAAmB,CACrC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,IAAI,EAAE,MAAM,GAAG,MAAM,iBAuCxB"}
@@ -28,7 +28,7 @@ import { getElementFromResponse } from '../../utils/index.js';
28
28
  * @type action
29
29
  *
30
30
  */
31
- export default async function selectByVisibleText(text) {
31
+ export async function selectByVisibleText(text) {
32
32
  /**
33
33
  * convert value into string
34
34
  */
@@ -24,5 +24,5 @@
24
24
  * @param {string | number} value value to be added
25
25
  *
26
26
  */
27
- export default function setValue(this: WebdriverIO.Element, value: string | number): Promise<void>;
27
+ export declare function setValue(this: WebdriverIO.Element, value: string | number): Promise<void>;
28
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;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAA8B,QAAQ,CAClC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,KAAK,EAAE,MAAM,GAAG,MAAM,iBAIzB"}
1
+ {"version":3,"file":"setValue.d.ts","sourceRoot":"","sources":["../../../src/commands/element/setValue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAsB,QAAQ,CAC1B,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,KAAK,EAAE,MAAM,GAAG,MAAM,iBAIzB"}
@@ -24,7 +24,7 @@
24
24
  * @param {string | number} value value to be added
25
25
  *
26
26
  */
27
- export default async function setValue(value) {
27
+ export async function setValue(value) {
28
28
  await this.clearValue();
29
29
  return this.addValue(value);
30
30
  }
@@ -18,5 +18,5 @@
18
18
  * @type utility
19
19
  *
20
20
  */
21
- export default function shadowRoot(this: WebdriverIO.Element, selector: string): Promise<import("../../types.js").ElementArray>;
21
+ export declare function shadow$$(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,kDAGnB"}
1
+ {"version":3,"file":"shadow$$.d.ts","sourceRoot":"","sources":["../../../src/commands/element/shadow$$.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,QAAQ,CAC1B,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,QAAQ,EAAE,MAAM,kDAGnB"}
@@ -19,6 +19,6 @@ import { shadowFnFactory } from '../../scripts/shadowFnFactory.js';
19
19
  * @type utility
20
20
  *
21
21
  */
22
- export default async function shadowRoot(selector) {
22
+ export async function shadow$$(selector) {
23
23
  return await this.$$(shadowFnFactory(selector, true));
24
24
  }
@@ -18,5 +18,5 @@
18
18
  * @type utility
19
19
  *
20
20
  */
21
- export default function shadowRoot(this: WebdriverIO.Element, selector: string): Promise<WebdriverIO.Element>;
21
+ export declare function shadow$(this: WebdriverIO.Element, selector: string): Promise<WebdriverIO.Element>;
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,gCAGnB"}
1
+ {"version":3,"file":"shadow$.d.ts","sourceRoot":"","sources":["../../../src/commands/element/shadow$.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,OAAO,CACzB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,QAAQ,EAAE,MAAM,gCAGnB"}
@@ -19,6 +19,6 @@ import { shadowFnFactory } from '../../scripts/shadowFnFactory.js';
19
19
  * @type utility
20
20
  *
21
21
  */
22
- export default async function shadowRoot(selector) {
22
+ export async function shadow$(selector) {
23
23
  return await this.$(shadowFnFactory(selector));
24
24
  }
@@ -50,5 +50,5 @@ import type { TouchActions } from '../../types.js';
50
50
  * @for android, ios
51
51
  *
52
52
  */
53
- export default function touchAction(this: WebdriverIO.Element, actions: TouchActions): Promise<void>;
53
+ export declare function touchAction(this: WebdriverIO.Element, actions: TouchActions): Promise<void>;
54
54
  //# sourceMappingURL=touchAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"touchAction.d.ts","sourceRoot":"","sources":["../../../src/commands/element/touchAction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAC/B,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,OAAO,EAAE,YAAY,iBAGxB"}
1
+ {"version":3,"file":"touchAction.d.ts","sourceRoot":"","sources":["../../../src/commands/element/touchAction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,wBAAgB,WAAW,CACvB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,OAAO,EAAE,YAAY,iBAGxB"}
@@ -50,6 +50,6 @@ import { touchAction as touchActionCommand } from '../constant.js';
50
50
  * @for android, ios
51
51
  *
52
52
  */
53
- export default function touchAction(actions) {
53
+ export function touchAction(actions) {
54
54
  return touchActionCommand.call(this, actions);
55
55
  }
@@ -30,5 +30,5 @@ import type { WaitForOptions } from '../../types.js';
30
30
  * @return {Boolean} `true` if element is clickable (or doesn't if flag is set)
31
31
  *
32
32
  */
33
- export default function waitForClickable(this: WebdriverIO.Element, { timeout, interval, reverse, timeoutMsg }?: WaitForOptions): Promise<true | void>;
33
+ export declare function waitForClickable(this: WebdriverIO.Element, { timeout, interval, reverse, timeoutMsg }?: WaitForOptions): Promise<true | void>;
34
34
  //# sourceMappingURL=waitForClickable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"waitForClickable.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitForClickable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAA8B,gBAAgB,CAC1C,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,EACI,OAAqC,EACrC,QAAuC,EACvC,OAAe,EACf,UAAsG,EACzG,GAAE,cAAmB,wBAMzB"}
1
+ {"version":3,"file":"waitForClickable.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitForClickable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAsB,gBAAgB,CAClC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,EACI,OAAqC,EACrC,QAAuC,EACvC,OAAe,EACf,UAAsG,EACzG,GAAE,cAAmB,wBAMzB"}
@@ -29,6 +29,6 @@
29
29
  * @return {Boolean} `true` if element is clickable (or doesn't if flag is set)
30
30
  *
31
31
  */
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` } = {}) {
32
+ export async function waitForClickable({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}clickable after ${timeout}ms` } = {}) {
33
33
  return this.waitUntil(async () => reverse !== await this.isClickable(), { timeout, timeoutMsg, interval });
34
34
  }
@@ -40,5 +40,5 @@ import type { WaitForOptions } from '../../types.js';
40
40
  * @type utility
41
41
  *
42
42
  */
43
- export default function waitForDisplayed(this: WebdriverIO.Element, { timeout, interval, reverse, timeoutMsg }?: WaitForOptions): Promise<true | void>;
43
+ export declare function waitForDisplayed(this: WebdriverIO.Element, { timeout, interval, reverse, timeoutMsg }?: WaitForOptions): Promise<true | void>;
44
44
  //# sourceMappingURL=waitForDisplayed.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"waitForDisplayed.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitForDisplayed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,wBAA8B,gBAAgB,CAC1C,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,EACI,OAAqC,EACrC,QAAuC,EACvC,OAAe,EACf,UAAsG,EACzG,GAAE,cAAmB,wBAMzB"}
1
+ {"version":3,"file":"waitForDisplayed.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitForDisplayed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,wBAAsB,gBAAgB,CAClC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,EACI,OAAqC,EACrC,QAAuC,EACvC,OAAe,EACf,UAAsG,EACzG,GAAE,cAAmB,wBAMzB"}
@@ -39,6 +39,6 @@
39
39
  * @type utility
40
40
  *
41
41
  */
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` } = {}) {
42
+ export async function waitForDisplayed({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}displayed after ${timeout}ms` } = {}) {
43
43
  return this.waitUntil(async () => reverse !== await this.isDisplayed(), { timeout, interval, timeoutMsg });
44
44
  }
@@ -42,5 +42,5 @@ import type { WaitForOptions } from '../../types.js';
42
42
  * @type utility
43
43
  *
44
44
  */
45
- export default function waitForEnabled(this: WebdriverIO.Element, { timeout, interval, reverse, timeoutMsg }?: WaitForOptions): Promise<true | void>;
45
+ export declare function waitForEnabled(this: WebdriverIO.Element, { timeout, interval, reverse, timeoutMsg }?: WaitForOptions): Promise<true | void>;
46
46
  //# sourceMappingURL=waitForEnabled.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"waitForEnabled.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitForEnabled.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,wBAA8B,cAAc,CACxC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,EACI,OAAqC,EACrC,QAAuC,EACvC,OAAe,EACf,UAAoG,EACvG,GAAE,cAAmB,wBAazB"}
1
+ {"version":3,"file":"waitForEnabled.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitForEnabled.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,wBAAsB,cAAc,CAChC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,EACI,OAAqC,EACrC,QAAuC,EACvC,OAAe,EACf,UAAoG,EACvG,GAAE,cAAmB,wBAazB"}
@@ -41,7 +41,7 @@
41
41
  * @type utility
42
42
  *
43
43
  */
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` } = {}) {
44
+ export async function waitForEnabled({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}enabled after ${timeout}ms` } = {}) {
45
45
  /**
46
46
  * if the element doesn't already exist, wait for it to exist
47
47
  */
@@ -42,5 +42,5 @@ import type { WaitForOptions } from '../../types.js';
42
42
  * @type utility
43
43
  *
44
44
  */
45
- export default function waitForExist(this: WebdriverIO.Element, { timeout, interval, reverse, timeoutMsg }?: WaitForOptions): Promise<true | void>;
45
+ export declare function waitForExist(this: WebdriverIO.Element, { timeout, interval, reverse, timeoutMsg }?: WaitForOptions): Promise<true | void>;
46
46
  //# sourceMappingURL=waitForExist.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"waitForExist.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitForExist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAChC,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,EACI,OAAqC,EACrC,QAAuC,EACvC,OAAe,EACf,UAAqG,EACxG,GAAE,cAAmB,wBAMzB"}
1
+ {"version":3,"file":"waitForExist.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitForExist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,wBAAgB,YAAY,CACxB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,EACI,OAAqC,EACrC,QAAuC,EACvC,OAAe,EACf,UAAqG,EACxG,GAAE,cAAmB,wBAMzB"}
@@ -41,6 +41,6 @@
41
41
  * @type utility
42
42
  *
43
43
  */
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` } = {}) {
44
+ export function waitForExist({ timeout = this.options.waitforTimeout, interval = this.options.waitforInterval, reverse = false, timeoutMsg = `element ("${this.selector}") still ${reverse ? '' : 'not '}existing after ${timeout}ms` } = {}) {
45
45
  return this.waitUntil(async () => reverse !== await this.isExisting(), { timeout, interval, timeoutMsg });
46
46
  }
@@ -43,6 +43,6 @@
43
43
  * @type utility
44
44
  *
45
45
  */
46
- import waitUntil from '../browser/waitUntil.js';
47
- export default waitUntil;
46
+ import { waitUntil as waitUntilBrowser } from '../browser/waitUntil.js';
47
+ export declare const waitUntil: typeof waitUntilBrowser;
48
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,OAAO,SAAS,MAAM,yBAAyB,CAAA;AAC/C,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"waitUntil.d.ts","sourceRoot":"","sources":["../../../src/commands/element/waitUntil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AACvE,eAAO,MAAM,SAAS,yBAAmB,CAAA"}
@@ -43,5 +43,5 @@
43
43
  * @type utility
44
44
  *
45
45
  */
46
- import waitUntil from '../browser/waitUntil.js';
47
- export default waitUntil;
46
+ import { waitUntil as waitUntilBrowser } from '../browser/waitUntil.js';
47
+ export const waitUntil = waitUntilBrowser;
@@ -1,50 +1,49 @@
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 };
1
+ export * from './element/$$.js';
2
+ export * from './element/$.js';
3
+ export * from './element/addValue.js';
4
+ export * from './element/clearValue.js';
5
+ export * from './element/click.js';
6
+ export * from './element/custom$$.js';
7
+ export * from './element/custom$.js';
8
+ export * from './element/doubleClick.js';
9
+ export * from './element/dragAndDrop.js';
10
+ export * from './element/getAttribute.js';
11
+ export * from './element/getCSSProperty.js';
12
+ export * from './element/getComputedRole.js';
13
+ export * from './element/getComputedLabel.js';
14
+ export * from './element/getHTML.js';
15
+ export * from './element/getLocation.js';
16
+ export * from './element/getProperty.js';
17
+ export * from './element/getSize.js';
18
+ export * from './element/getTagName.js';
19
+ export * from './element/getText.js';
20
+ export * from './element/getValue.js';
21
+ export * from './element/isClickable.js';
22
+ export * from './element/isDisplayed.js';
23
+ export * from './element/isDisplayedInViewport.js';
24
+ export * from './element/isEnabled.js';
25
+ export * from './element/isEqual.js';
26
+ export * from './element/isExisting.js';
27
+ export * from './element/isFocused.js';
28
+ export * from './element/isSelected.js';
29
+ export * from './element/moveTo.js';
30
+ export * from './element/nextElement.js';
31
+ export * from './element/parentElement.js';
32
+ export * from './element/previousElement.js';
33
+ export * from './element/react$$.js';
34
+ export * from './element/react$.js';
35
+ export * from './element/saveScreenshot.js';
36
+ export * from './element/scrollIntoView.js';
37
+ export * from './element/selectByAttribute.js';
38
+ export * from './element/selectByIndex.js';
39
+ export * from './element/selectByVisibleText.js';
40
+ export * from './element/setValue.js';
41
+ export * from './element/shadow$$.js';
42
+ export * from './element/shadow$.js';
43
+ export * from './element/touchAction.js';
44
+ export * from './element/waitForClickable.js';
45
+ export * from './element/waitForDisplayed.js';
46
+ export * from './element/waitForEnabled.js';
47
+ export * from './element/waitForExist.js';
48
+ export * from './element/waitUntil.js';
50
49
  //# 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,iBAAiB,CAAA;AAChC,OAAO,CAAC,MAAM,gBAAgB,CAAA;AAC9B,OAAO,QAAQ,MAAM,uBAAuB,CAAA;AAC5C,OAAO,UAAU,MAAM,yBAAyB,CAAA;AAChD,OAAO,KAAK,MAAM,oBAAoB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