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.
- package/build/cjs/index.d.ts +3 -0
- package/build/cjs/index.d.ts.map +1 -0
- package/build/cjs/index.js +13 -0
- package/build/cjs/package.json +3 -0
- package/build/commands/browser/$$.d.ts +10 -1
- package/build/commands/browser/$$.d.ts.map +1 -1
- package/build/commands/browser/$$.js +16 -9
- package/build/commands/browser/$.js +8 -11
- package/build/commands/browser/action.d.ts +132 -0
- package/build/commands/browser/action.d.ts.map +1 -0
- package/build/commands/browser/action.js +13 -0
- package/build/commands/browser/actions.d.ts +29 -0
- package/build/commands/browser/actions.d.ts.map +1 -0
- package/build/commands/browser/actions.js +30 -0
- package/build/commands/browser/addCommand.d.ts +1 -1
- package/build/commands/browser/addCommand.js +1 -1
- package/build/commands/browser/call.d.ts +7 -5
- package/build/commands/browser/call.d.ts.map +1 -1
- package/build/commands/browser/call.js +8 -9
- package/build/commands/browser/custom$$.js +7 -10
- package/build/commands/browser/custom$.d.ts +1 -1
- package/build/commands/browser/custom$.js +6 -9
- package/build/commands/browser/debug.js +8 -14
- package/build/commands/browser/deleteCookies.d.ts +3 -3
- package/build/commands/browser/deleteCookies.js +4 -7
- package/build/commands/browser/execute.d.ts +2 -2
- package/build/commands/browser/execute.js +5 -8
- package/build/commands/browser/executeAsync.js +3 -6
- package/build/commands/browser/getCookies.d.ts +2 -2
- package/build/commands/browser/getCookies.js +3 -6
- package/build/commands/browser/getPuppeteer.d.ts +1 -1
- package/build/commands/browser/getPuppeteer.d.ts.map +1 -1
- package/build/commands/browser/getPuppeteer.js +14 -21
- package/build/commands/browser/getWindowSize.js +3 -6
- package/build/commands/browser/keys.d.ts +20 -10
- package/build/commands/browser/keys.d.ts.map +1 -1
- package/build/commands/browser/keys.js +29 -24
- package/build/commands/browser/mock.d.ts +5 -4
- package/build/commands/browser/mock.d.ts.map +1 -1
- package/build/commands/browser/mock.js +16 -22
- package/build/commands/browser/mockClearAll.js +5 -11
- package/build/commands/browser/mockRestoreAll.js +5 -11
- package/build/commands/browser/newWindow.js +5 -11
- package/build/commands/browser/pause.js +1 -4
- package/build/commands/browser/react$$.d.ts.map +1 -1
- package/build/commands/browser/react$$.js +16 -17
- package/build/commands/browser/react$.d.ts.map +1 -1
- package/build/commands/browser/react$.js +13 -14
- package/build/commands/browser/reloadSession.js +5 -12
- package/build/commands/browser/savePDF.d.ts +14 -14
- package/build/commands/browser/savePDF.js +21 -27
- package/build/commands/browser/saveRecordingScreen.js +6 -12
- package/build/commands/browser/saveScreenshot.js +6 -12
- package/build/commands/browser/scroll.d.ts +25 -0
- package/build/commands/browser/scroll.d.ts.map +1 -0
- package/build/commands/browser/scroll.js +41 -0
- package/build/commands/browser/setCookies.d.ts +1 -1
- package/build/commands/browser/setCookies.d.ts.map +1 -1
- package/build/commands/browser/setCookies.js +5 -7
- package/build/commands/browser/setTimeout.js +1 -4
- package/build/commands/browser/setWindowSize.js +3 -6
- package/build/commands/browser/switchWindow.js +1 -4
- package/build/commands/browser/throttle.js +3 -6
- package/build/commands/browser/touchAction.d.ts +1 -1
- package/build/commands/browser/touchAction.d.ts.map +1 -1
- package/build/commands/browser/touchAction.js +3 -6
- package/build/commands/browser/uploadFile.d.ts +1 -1
- package/build/commands/browser/uploadFile.d.ts.map +1 -1
- package/build/commands/browser/uploadFile.js +10 -15
- package/build/commands/browser/url.js +3 -6
- package/build/commands/browser/waitUntil.d.ts +1 -2
- package/build/commands/browser/waitUntil.d.ts.map +1 -1
- package/build/commands/browser/waitUntil.js +4 -11
- package/build/commands/browser.d.ts +37 -69
- package/build/commands/browser.d.ts.map +1 -1
- package/build/commands/browser.js +37 -44
- package/build/commands/constant.d.ts +1 -1
- package/build/commands/constant.d.ts.map +1 -1
- package/build/commands/constant.js +6 -12
- package/build/commands/element/$$.d.ts +1 -1
- package/build/commands/element/$$.d.ts.map +1 -1
- package/build/commands/element/$$.js +2 -7
- package/build/commands/element/$.d.ts +1 -1
- package/build/commands/element/$.d.ts.map +1 -1
- package/build/commands/element/$.js +2 -7
- package/build/commands/element/addValue.d.ts +10 -14
- package/build/commands/element/addValue.d.ts.map +1 -1
- package/build/commands/element/addValue.js +23 -27
- package/build/commands/element/clearValue.d.ts +1 -1
- package/build/commands/element/clearValue.js +2 -5
- package/build/commands/element/click.d.ts +1 -1
- package/build/commands/element/click.d.ts.map +1 -1
- package/build/commands/element/click.js +19 -34
- package/build/commands/element/custom$$.js +9 -11
- package/build/commands/element/custom$.js +8 -10
- package/build/commands/element/doubleClick.d.ts.map +1 -1
- package/build/commands/element/doubleClick.js +11 -17
- package/build/commands/element/dragAndDrop.d.ts.map +1 -1
- package/build/commands/element/dragAndDrop.js +13 -19
- package/build/commands/element/getAttribute.js +1 -4
- package/build/commands/element/getCSSProperty.d.ts +1 -1
- package/build/commands/element/getCSSProperty.d.ts.map +1 -1
- package/build/commands/element/getCSSProperty.js +7 -13
- package/build/commands/element/getComputedLabel.js +1 -4
- package/build/commands/element/getComputedRole.js +1 -4
- package/build/commands/element/getHTML.js +7 -13
- package/build/commands/element/getLocation.js +3 -5
- package/build/commands/element/getProperty.d.ts +5 -5
- package/build/commands/element/getProperty.d.ts.map +1 -1
- package/build/commands/element/getProperty.js +5 -11
- package/build/commands/element/getSize.js +3 -5
- package/build/commands/element/getTagName.js +1 -4
- package/build/commands/element/getText.js +1 -4
- package/build/commands/element/getValue.js +1 -4
- package/build/commands/element/isClickable.d.ts.map +1 -1
- package/build/commands/element/isClickable.js +10 -13
- package/build/commands/element/isDisplayed.js +9 -16
- package/build/commands/element/isDisplayedInViewport.js +7 -13
- package/build/commands/element/isEnabled.js +1 -4
- package/build/commands/element/isEqual.d.ts.map +1 -1
- package/build/commands/element/isEqual.js +9 -9
- package/build/commands/element/isExisting.js +1 -4
- package/build/commands/element/isFocused.js +7 -13
- package/build/commands/element/isSelected.js +1 -4
- package/build/commands/element/moveTo.d.ts.map +1 -1
- package/build/commands/element/moveTo.js +8 -13
- package/build/commands/element/nextElement.js +2 -5
- package/build/commands/element/parentElement.js +2 -5
- package/build/commands/element/previousElement.js +2 -5
- package/build/commands/element/react$$.d.ts.map +1 -1
- package/build/commands/element/react$$.js +16 -16
- package/build/commands/element/react$.d.ts.map +1 -1
- package/build/commands/element/react$.js +15 -14
- package/build/commands/element/saveScreenshot.js +6 -12
- package/build/commands/element/scrollIntoView.d.ts +4 -2
- package/build/commands/element/scrollIntoView.d.ts.map +1 -1
- package/build/commands/element/scrollIntoView.js +33 -12
- package/build/commands/element/selectByAttribute.js +3 -6
- package/build/commands/element/selectByIndex.js +3 -6
- package/build/commands/element/selectByVisibleText.js +3 -6
- package/build/commands/element/setValue.d.ts +13 -14
- package/build/commands/element/setValue.d.ts.map +1 -1
- package/build/commands/element/setValue.js +14 -17
- package/build/commands/element/shadow$$.d.ts +1 -1
- package/build/commands/element/shadow$$.d.ts.map +1 -1
- package/build/commands/element/shadow$$.js +3 -6
- package/build/commands/element/shadow$.js +3 -6
- package/build/commands/element/touchAction.js +3 -6
- package/build/commands/element/waitForClickable.js +1 -4
- package/build/commands/element/waitForDisplayed.js +1 -4
- package/build/commands/element/waitForEnabled.js +1 -4
- package/build/commands/element/waitForExist.js +1 -4
- package/build/commands/element/waitUntil.d.ts +2 -3
- package/build/commands/element/waitUntil.d.ts.map +1 -1
- package/build/commands/element/waitUntil.js +3 -9
- package/build/commands/element.d.ts +49 -99
- package/build/commands/element.d.ts.map +1 -1
- package/build/commands/element.js +49 -63
- package/build/constants.d.ts +67 -0
- package/build/constants.d.ts.map +1 -1
- package/build/constants.js +105 -12
- package/build/index.d.ts +65 -6
- package/build/index.d.ts.map +1 -1
- package/build/index.js +48 -86
- package/build/middlewares.d.ts +1 -1
- package/build/middlewares.js +11 -19
- package/build/multiremote.js +18 -24
- package/build/protocol-stub.d.ts.map +1 -1
- package/build/protocol-stub.js +4 -6
- package/build/scripts/getHTML.js +1 -4
- package/build/scripts/getProperty.d.ts +5 -5
- package/build/scripts/getProperty.d.ts.map +1 -1
- package/build/scripts/getProperty.js +1 -4
- package/build/scripts/isElementClickable.js +1 -4
- package/build/scripts/isElementDisplayed.js +2 -5
- package/build/scripts/isElementInViewport.js +1 -4
- package/build/scripts/isFocused.js +1 -4
- package/build/scripts/newWindow.js +1 -4
- package/build/scripts/resq.js +3 -9
- package/build/scripts/shadowFnFactory.js +2 -6
- package/build/types.d.ts +5 -9
- package/build/types.d.ts.map +1 -1
- package/build/types.js +1 -2
- package/build/utils/SevereServiceError.js +1 -4
- package/build/utils/Timer.d.ts.map +1 -1
- package/build/utils/Timer.js +13 -29
- package/build/utils/actions/base.d.ts +32 -0
- package/build/utils/actions/base.d.ts.map +1 -0
- package/build/utils/actions/base.js +66 -0
- package/build/utils/actions/index.d.ts +6 -0
- package/build/utils/actions/index.d.ts.map +1 -0
- package/build/utils/actions/index.js +5 -0
- package/build/utils/actions/key.d.ts +15 -0
- package/build/utils/actions/key.d.ts.map +1 -0
- package/build/utils/actions/key.js +22 -0
- package/build/utils/actions/pointer.d.ts +62 -0
- package/build/utils/actions/pointer.d.ts.map +1 -0
- package/build/utils/actions/pointer.js +76 -0
- package/build/utils/actions/wheel.d.ts +36 -0
- package/build/utils/actions/wheel.d.ts.map +1 -0
- package/build/utils/actions/wheel.js +20 -0
- package/build/utils/detectBackend.d.ts +1 -1
- package/build/utils/detectBackend.d.ts.map +1 -1
- package/build/utils/detectBackend.js +3 -7
- package/build/utils/findStrategy.d.ts.map +1 -1
- package/build/utils/findStrategy.js +50 -19
- package/build/utils/getElementObject.d.ts +1 -1
- package/build/utils/getElementObject.d.ts.map +1 -1
- package/build/utils/getElementObject.js +51 -32
- package/build/utils/implicitWait.js +3 -9
- package/build/utils/index.d.ts +8 -7
- package/build/utils/index.d.ts.map +1 -1
- package/build/utils/index.js +125 -148
- package/build/utils/interception/devtools.d.ts +1 -1
- package/build/utils/interception/devtools.d.ts.map +1 -1
- package/build/utils/interception/devtools.js +17 -36
- package/build/utils/interception/index.d.ts +2 -2
- package/build/utils/interception/index.d.ts.map +1 -1
- package/build/utils/interception/index.js +10 -13
- package/build/utils/interception/types.d.ts +1 -1
- package/build/utils/interception/types.d.ts.map +1 -1
- package/build/utils/interception/types.js +1 -2
- package/build/utils/interception/webdriver.d.ts +1 -1
- package/build/utils/interception/webdriver.d.ts.map +1 -1
- package/build/utils/interception/webdriver.js +6 -11
- package/build/utils/refetchElement.js +3 -9
- package/package.json +27 -17
- package/async.d.ts +0 -24
- 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
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
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('
|
|
16
|
+
await input.setValue('test')
|
|
17
|
+
await input.setValue(123)
|
|
17
18
|
|
|
18
|
-
console.log(await input.getValue()); // outputs: '
|
|
19
|
+
console.log(await input.getValue()); // outputs: '123'
|
|
19
20
|
});
|
|
20
21
|
* </example>
|
|
21
22
|
*
|
|
22
23
|
* @alias element.setValue
|
|
23
|
-
* @param {string | number
|
|
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:
|
|
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
|
|
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
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
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('
|
|
16
|
+
await input.setValue('test')
|
|
17
|
+
await input.setValue(123)
|
|
18
18
|
|
|
19
|
-
console.log(await input.getValue()); // outputs: '
|
|
19
|
+
console.log(await input.getValue()); // outputs: '123'
|
|
20
20
|
});
|
|
21
21
|
* </example>
|
|
22
22
|
*
|
|
23
23
|
* @alias element.setValue
|
|
24
|
-
* @param {string | number
|
|
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
|
|
27
|
+
export default async function setValue(value) {
|
|
30
28
|
await this.clearValue();
|
|
31
|
-
return this.addValue(value
|
|
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("
|
|
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,
|
|
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
|
-
|
|
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.$$(
|
|
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
|
-
|
|
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.$(
|
|
22
|
+
export default async function shadowRoot(selector) {
|
|
23
|
+
return await this.$(shadowFnFactory(selector));
|
|
26
24
|
}
|
|
27
|
-
exports.default = shadowRoot;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
-
|
|
53
|
-
|
|
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
|
-
|
|
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,
|
|
1
|
+
{"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../../src/commands/element.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,63 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
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 };
|