Files
klz-cables.com/.pnpm-store/v10/files/a5/35ab76efcb1ad99df2734c00361c476ff1f0bec3151608040b6877d4665bc1aa5ec6af6a640b8ebdc5d1ce2a3f9da2f21979c4da360d2c3639c669d517641a
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

24 lines
1009 B
Plaintext

/**
* Given a child DOM element, returns a query-selector statement describing that
* and its ancestors
* e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]
* @returns generated DOM path
*/
export declare function htmlTreeAsString(elem: unknown, options?: string[] | {
keyAttrs?: string[];
maxStringLength?: number;
}): string;
/**
* A safe form of location.href
*/
export declare function getLocationHref(): string;
/**
* Given a DOM element, traverses up the tree until it finds the first ancestor node
* that has the `data-sentry-component` or `data-sentry-element` attribute with `data-sentry-component` taking
* precedence. This attribute is added at build-time by projects that have the component name annotation plugin installed.
*
* @returns a string representation of the component for the provided DOM element, or `null` if not found
*/
export declare function getComponentName(elem: unknown): string | null;
//# sourceMappingURL=browser.d.ts.map