@testspectra/matchers 1.1.10 → 1.1.11-rc.3

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.
@@ -6,16 +6,9 @@ import { SingleElementMatcher, MultiElementMatcher, ElementTarget } from './type
6
6
  * @param target - Selector string or element instance.
7
7
  * @returns Resolved WebdriverIO.Element instance.
8
8
  */
9
+ export declare function resolveElement(target: ElementTarget): Promise<WebdriverIO.Element>;
9
10
  /**
10
- * Resolves an ElementTarget (selector string, WebdriverIO.Element, Playwright Locator, or ChainablePromiseElement)
11
- * to an actionable element instance.
12
- *
13
- * @param target - Selector string or element instance.
14
- * @returns Resolved element or locator instance.
15
- */
16
- export declare function resolveElement(target: ElementTarget): Promise<any>;
17
- /**
18
- * Executes a single element matcher against the active runner context (Playwright or WebdriverIO).
11
+ * Executes a single element matcher against the WebdriverIO browser / element context.
19
12
  *
20
13
  * @param target - Optional element target (not required for browser-level assertions).
21
14
  * @param matcher - Single element matcher string.
@@ -23,7 +16,7 @@ export declare function resolveElement(target: ElementTarget): Promise<any>;
23
16
  */
24
17
  export declare function executeSingleMatcher(target: ElementTarget | undefined, matcher: SingleElementMatcher, args: any[]): Promise<void>;
25
18
  /**
26
- * Executes a multi-element collection matcher against $$.
19
+ * Executes a multi-element collection matcher against WebdriverIO $$.
27
20
  *
28
21
  * @param selector - CSS/XPath selector for the collection.
29
22
  * @param matcher - Multi-element matcher string.