@rnw-community/wdio 0.65.2 → 0.66.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.
- package/dist/cjs/component/component.d.ts +5 -5
- package/dist/cjs/component/component.d.ts.map +1 -1
- package/dist/cjs/component/component.js.map +1 -1
- package/dist/cjs/rooted-component/rooted-component.d.ts +5 -5
- package/dist/cjs/rooted-component/rooted-component.d.ts.map +1 -1
- package/dist/cjs/selector-element/selector-element.d.ts +4 -4
- package/dist/cjs/selector-element/selector-element.d.ts.map +1 -1
- package/dist/cjs/type/els-selector-fn.type.d.ts +2 -2
- package/dist/cjs/type/els-selector-fn.type.d.ts.map +1 -1
- package/dist/esm/component/component.d.ts +5 -5
- package/dist/esm/component/component.d.ts.map +1 -1
- package/dist/esm/component/component.js.map +1 -1
- package/dist/esm/rooted-component/rooted-component.d.ts +5 -5
- package/dist/esm/rooted-component/rooted-component.d.ts.map +1 -1
- package/dist/esm/selector-element/selector-element.d.ts +4 -4
- package/dist/esm/selector-element/selector-element.d.ts.map +1 -1
- package/dist/esm/type/els-selector-fn.type.d.ts +2 -2
- package/dist/esm/type/els-selector-fn.type.d.ts.map +1 -1
- package/package.json +7 -16
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { ComponentConfigInterface } from '../type';
|
|
2
|
-
import type { ChainablePromiseArray, ChainablePromiseElement
|
|
2
|
+
import type { ChainablePromiseArray, ChainablePromiseElement } from 'webdriverio';
|
|
3
3
|
export declare class Component<T = any> {
|
|
4
4
|
protected config: ComponentConfigInterface;
|
|
5
5
|
protected selectors: T;
|
|
6
6
|
protected parentComponents: Component[];
|
|
7
7
|
constructor(config: ComponentConfigInterface, selectors: T);
|
|
8
8
|
addParentComponent(component: Component): void;
|
|
9
|
-
getChildEl(selector: string): ChainablePromiseElement<Element>;
|
|
10
|
-
getChildEls(selector: string): ChainablePromiseArray<ElementArray>;
|
|
11
|
-
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement<Element>;
|
|
12
|
-
getComponentFromEls<E>(selector: string, componentFn: (el: Element) => Promise<E>, predicateFn: (component: E) => Promise<boolean>): Promise<E>;
|
|
9
|
+
getChildEl(selector: string): ChainablePromiseElement<WebdriverIO.Element>;
|
|
10
|
+
getChildEls(selector: string): ChainablePromiseArray<WebdriverIO.ElementArray>;
|
|
11
|
+
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement<WebdriverIO.Element>;
|
|
12
|
+
getComponentFromEls<E>(selector: string, componentFn: (el: WebdriverIO.Element) => Promise<E>, predicateFn: (component: E) => Promise<boolean>): Promise<E>;
|
|
13
13
|
protected proxyGet(field: string, receiver: unknown, notFoundFn?: () => unknown): unknown;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,SAAS,CAAC,CAAC,GAAG,GAAG;IAItB,SAAS,CAAC,MAAM,EAAE,wBAAwB;IAC1C,SAAS,CAAC,SAAS,EAAE,CAAC;IAJ1B,SAAS,CAAC,gBAAgB,EAAE,SAAS,EAAE,CAAM;gBAG/B,MAAM,EAAE,wBAAwB,EAChC,SAAS,EAAE,CAAC;IAU1B,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAI9C,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB,C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;AAnED,8BAmEC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Component } from '../component/component';
|
|
2
2
|
import type { ComponentConfigInterface, ComponentInputArg } from '../type';
|
|
3
|
-
import type { ChainablePromiseArray, ChainablePromiseElement
|
|
3
|
+
import type { ChainablePromiseArray, ChainablePromiseElement } from 'webdriverio';
|
|
4
4
|
export declare class RootedComponent<T = any> extends Component<T> {
|
|
5
5
|
protected readonly parentElInput: ComponentInputArg;
|
|
6
6
|
constructor(config: ComponentConfigInterface, selectors: T, parentElInput: ComponentInputArg | undefined);
|
|
7
|
-
get RootEl(): ChainablePromiseElement<Element>;
|
|
8
|
-
getChildEl(selector: string): ChainablePromiseElement<Element>;
|
|
9
|
-
getChildEls(selector: string): ChainablePromiseArray<ElementArray>;
|
|
10
|
-
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement<Element>;
|
|
7
|
+
get RootEl(): ChainablePromiseElement<WebdriverIO.Element>;
|
|
8
|
+
getChildEl(selector: string): ChainablePromiseElement<WebdriverIO.Element>;
|
|
9
|
+
getChildEls(selector: string): ChainablePromiseArray<WebdriverIO.ElementArray>;
|
|
10
|
+
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement<WebdriverIO.Element>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=rooted-component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,eAAe,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAC;IACtD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,iBAAiB,CAAC;gBAExC,MAAM,EAAE,wBAAwB,EAAE,SAAS,EAAE,CAAC,EAAE,aAAa,EAAE,iBAAiB,GAAG,SAAS;IAiCxG,IAAI,MAAM,IAAI,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC,CAMzD;IAEQ,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC;IAI1E,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB,CAAC,WAAW,CAAC,YAAY,CAAC;IAI9E,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC;CAGxG"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Component } from '../component/component';
|
|
2
|
-
import type { ChainablePromiseArray, ChainablePromiseElement
|
|
2
|
+
import type { ChainablePromiseArray, ChainablePromiseElement } from 'webdriverio';
|
|
3
3
|
export declare class SelectorElement {
|
|
4
4
|
private readonly component;
|
|
5
5
|
private readonly enumSelector;
|
|
6
6
|
constructor(component: Component, enumSelector: string);
|
|
7
|
-
el(): ChainablePromiseElement<Element>;
|
|
8
|
-
els(): ChainablePromiseArray<ElementArray>;
|
|
9
|
-
byIdx(idx: number): ChainablePromiseElement<Element>;
|
|
7
|
+
el(): ChainablePromiseElement<WebdriverIO.Element>;
|
|
8
|
+
els(): ChainablePromiseArray<WebdriverIO.ElementArray>;
|
|
9
|
+
byIdx(idx: number): ChainablePromiseElement<WebdriverIO.Element>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=selector-element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-element.d.ts","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"selector-element.d.ts","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAElF,qBAAa,eAAe;IAEpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,MAAM;IAgBzC,EAAE,IAAI,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC;IAIlD,GAAG,IAAI,qBAAqB,CAAC,WAAW,CAAC,YAAY,CAAC;IAItD,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC;CAGnE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ElementReference } from '@wdio/protocols/build/types';
|
|
3
|
-
import type { ChainablePromiseArray
|
|
4
|
-
export type ElsSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseArray<ElementArray>;
|
|
3
|
+
import type { ChainablePromiseArray } from 'webdriverio';
|
|
4
|
+
export type ElsSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseArray<WebdriverIO.ElementArray>;
|
|
5
5
|
//# sourceMappingURL=els-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"els-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"els-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,CACxB,QAAQ,EAAE,gBAAgB,GAAG,MAAM,EACnC,OAAO,CAAC,EAAE,mBAAmB,KAC5B,qBAAqB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { ComponentConfigInterface } from '../type';
|
|
2
|
-
import type { ChainablePromiseArray, ChainablePromiseElement
|
|
2
|
+
import type { ChainablePromiseArray, ChainablePromiseElement } from 'webdriverio';
|
|
3
3
|
export declare class Component<T = any> {
|
|
4
4
|
protected config: ComponentConfigInterface;
|
|
5
5
|
protected selectors: T;
|
|
6
6
|
protected parentComponents: Component[];
|
|
7
7
|
constructor(config: ComponentConfigInterface, selectors: T);
|
|
8
8
|
addParentComponent(component: Component): void;
|
|
9
|
-
getChildEl(selector: string): ChainablePromiseElement<Element>;
|
|
10
|
-
getChildEls(selector: string): ChainablePromiseArray<ElementArray>;
|
|
11
|
-
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement<Element>;
|
|
12
|
-
getComponentFromEls<E>(selector: string, componentFn: (el: Element) => Promise<E>, predicateFn: (component: E) => Promise<boolean>): Promise<E>;
|
|
9
|
+
getChildEl(selector: string): ChainablePromiseElement<WebdriverIO.Element>;
|
|
10
|
+
getChildEls(selector: string): ChainablePromiseArray<WebdriverIO.ElementArray>;
|
|
11
|
+
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement<WebdriverIO.Element>;
|
|
12
|
+
getComponentFromEls<E>(selector: string, componentFn: (el: WebdriverIO.Element) => Promise<E>, predicateFn: (component: E) => Promise<boolean>): Promise<E>;
|
|
13
13
|
protected proxyGet(field: string, receiver: unknown, notFoundFn?: () => unknown): unknown;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,SAAS,CAAC,CAAC,GAAG,GAAG;IAItB,SAAS,CAAC,MAAM,EAAE,wBAAwB;IAC1C,SAAS,CAAC,SAAS,EAAE,CAAC;IAJ1B,SAAS,CAAC,gBAAgB,EAAE,SAAS,EAAE,CAAM;gBAG/B,MAAM,EAAE,wBAAwB,EAChC,SAAS,EAAE,CAAC;IAU1B,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAI9C,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB,CAAC,WAAW,CA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AAG,CAAC,eAAe,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACzD,CAAC;QACL,CAAC;QAED,OAAO,UAAU,EAAE,EAAE,CAAC;IAC1B,CAAC;CACJ"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Component } from '../component/component';
|
|
2
2
|
import type { ComponentConfigInterface, ComponentInputArg } from '../type';
|
|
3
|
-
import type { ChainablePromiseArray, ChainablePromiseElement
|
|
3
|
+
import type { ChainablePromiseArray, ChainablePromiseElement } from 'webdriverio';
|
|
4
4
|
export declare class RootedComponent<T = any> extends Component<T> {
|
|
5
5
|
protected readonly parentElInput: ComponentInputArg;
|
|
6
6
|
constructor(config: ComponentConfigInterface, selectors: T, parentElInput: ComponentInputArg | undefined);
|
|
7
|
-
get RootEl(): ChainablePromiseElement<Element>;
|
|
8
|
-
getChildEl(selector: string): ChainablePromiseElement<Element>;
|
|
9
|
-
getChildEls(selector: string): ChainablePromiseArray<ElementArray>;
|
|
10
|
-
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement<Element>;
|
|
7
|
+
get RootEl(): ChainablePromiseElement<WebdriverIO.Element>;
|
|
8
|
+
getChildEl(selector: string): ChainablePromiseElement<WebdriverIO.Element>;
|
|
9
|
+
getChildEls(selector: string): ChainablePromiseArray<WebdriverIO.ElementArray>;
|
|
10
|
+
getChildElByIdx(selector: string, idx: number): ChainablePromiseElement<WebdriverIO.Element>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=rooted-component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,eAAe,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAC;IACtD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,iBAAiB,CAAC;gBAExC,MAAM,EAAE,wBAAwB,EAAE,SAAS,EAAE,CAAC,EAAE,aAAa,EAAE,iBAAiB,GAAG,SAAS;IAiCxG,IAAI,MAAM,IAAI,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC,CAMzD;IAEQ,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC;IAI1E,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB,CAAC,WAAW,CAAC,YAAY,CAAC;IAI9E,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC;CAGxG"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Component } from '../component/component';
|
|
2
|
-
import type { ChainablePromiseArray, ChainablePromiseElement
|
|
2
|
+
import type { ChainablePromiseArray, ChainablePromiseElement } from 'webdriverio';
|
|
3
3
|
export declare class SelectorElement {
|
|
4
4
|
private readonly component;
|
|
5
5
|
private readonly enumSelector;
|
|
6
6
|
constructor(component: Component, enumSelector: string);
|
|
7
|
-
el(): ChainablePromiseElement<Element>;
|
|
8
|
-
els(): ChainablePromiseArray<ElementArray>;
|
|
9
|
-
byIdx(idx: number): ChainablePromiseElement<Element>;
|
|
7
|
+
el(): ChainablePromiseElement<WebdriverIO.Element>;
|
|
8
|
+
els(): ChainablePromiseArray<WebdriverIO.ElementArray>;
|
|
9
|
+
byIdx(idx: number): ChainablePromiseElement<WebdriverIO.Element>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=selector-element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-element.d.ts","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"selector-element.d.ts","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAElF,qBAAa,eAAe;IAEpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,MAAM;IAgBzC,EAAE,IAAI,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC;IAIlD,GAAG,IAAI,qBAAqB,CAAC,WAAW,CAAC,YAAY,CAAC;IAItD,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC;CAGnE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ElementReference } from '@wdio/protocols/build/types';
|
|
3
|
-
import type { ChainablePromiseArray
|
|
4
|
-
export type ElsSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseArray<ElementArray>;
|
|
3
|
+
import type { ChainablePromiseArray } from 'webdriverio';
|
|
4
|
+
export type ElsSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseArray<WebdriverIO.ElementArray>;
|
|
5
5
|
//# sourceMappingURL=els-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"els-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"els-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,CACxB,QAAQ,EAAE,gBAAgB,GAAG,MAAM,EACnC,OAAO,CAAC,EAAE,mBAAmB,KAC5B,qBAAqB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnw-community/wdio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.66.0",
|
|
4
4
|
"description": "WDIO commands, page objects and utils",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wdio",
|
|
@@ -40,22 +40,13 @@
|
|
|
40
40
|
"clear:deps": "rm -rf ./node_modules && rm -rf ./dist"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">=18.0.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "fddb08057dbac1a26d3470243ac1141a48e48823",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"@wdio/globals": "^8.5.1",
|
|
52
|
-
"@wdio/protocols": "^8.3.11",
|
|
53
|
-
"expect-type": "^0.13.0",
|
|
54
|
-
"webdriverio": "^8.5.1"
|
|
55
|
-
},
|
|
56
|
-
"peerDependencies": {
|
|
57
|
-
"@rnw-community/shared": "workspace:*",
|
|
58
|
-
"@wdio/globals": "^8.5.1",
|
|
59
|
-
"webdriverio": "^8.5.1"
|
|
47
|
+
"@rnw-community/shared": "0.66.0",
|
|
48
|
+
"@wdio/globals": "^8.32.0",
|
|
49
|
+
"@wdio/protocols": "^8.32.0",
|
|
50
|
+
"webdriverio": "^8.32.0"
|
|
60
51
|
}
|
|
61
52
|
}
|