mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 20:17:09 +00:00
feat(inspect-ui): hierarchy + html panels in run detail
HierarchyPanel renders the captured DOM/AX tree with a filter input. HtmlPanel renders the per-step HTML in an iframe (sandboxed) with a toggle to view source. HTML tab only shows when the step actually has HTML captured.
This commit is contained in:
1 parent
26b27c09ed
commit
8e9ac938f3
8 files changed
+375
No files matched your search
@@ -23,3 +23,7 @@ export function getStep(runId: string, index: number): Promise<Step> {
|
||||
export function screenshotUrl(runId: string, name: string): string {
|
||||
return `/api/runs/${encodeURIComponent(runId)}/screenshots/${encodeURIComponent(name)}`;
|
||||
}
|
||||
|
||||
export function htmlUrl(runId: string, name: string): string {
|
||||
return `/api/runs/${encodeURIComponent(runId)}/html/${encodeURIComponent(name)}`;
|
||||
}
|
||||
Reference in new issue
Block a user