@dev-blinq/bvt-playwright-js 1.0.0-dev.4.staging.100.1 → 1.0.0-dev.4.staging.108.1
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/index.d.mts +3 -0
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -8768,6 +8768,7 @@ type PWSelectorDetails = {
|
|
|
8768
8768
|
declare class SelectorGenerator {
|
|
8769
8769
|
private injectedScript;
|
|
8770
8770
|
private _pw;
|
|
8771
|
+
private contextElement;
|
|
8771
8772
|
constructor(injectedScript: InjectedScript);
|
|
8772
8773
|
private getDocumentElement;
|
|
8773
8774
|
private getDocumentBody;
|
|
@@ -8779,6 +8780,7 @@ declare class SelectorGenerator {
|
|
|
8779
8780
|
root?: Element;
|
|
8780
8781
|
prefix?: string;
|
|
8781
8782
|
}): Element[];
|
|
8783
|
+
private addNearestTextToSelectors;
|
|
8782
8784
|
buildPWTextCandidates(element: Element, isTargetNode: boolean): PWSelectorDetails[];
|
|
8783
8785
|
buildPWNoTextCandidates(element: Element, options?: InternalOptions): PWSelectorDetails[];
|
|
8784
8786
|
computeUnique(element: Element, locatorGenerator: (element: Element, options?: InternalOptions & {
|
|
@@ -8793,6 +8795,7 @@ declare class SelectorGenerator {
|
|
|
8793
8795
|
}): string;
|
|
8794
8796
|
getUniqueSelectors(element: Element, options?: InternalOptions & {
|
|
8795
8797
|
timeout?: number;
|
|
8798
|
+
context?: Element;
|
|
8796
8799
|
}): UniqueSelector[];
|
|
8797
8800
|
private getAncestorPath;
|
|
8798
8801
|
private getLandmarkPath;
|
package/package.json
CHANGED