Files
klz-cables.com/.pnpm-store/v10/files/80/3cdefec69e31e0e56dfab77e68a676c3f4cb1c19966ccd91e57d727c197f447553d7cbae77f11e9766b29c608ca265073b41e54d8f56182c285e757ed3f99e
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

23 lines
985 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