@detiq/crawler 1.0.6 → 1.0.8
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/dist/crawler.js +680 -38
- package/dist/crawler.js.map +3 -3
- package/dist/extractors/advanced.js +20 -0
- package/dist/extractors/advanced.js.map +2 -2
- package/dist/interactive-probe.js +334 -2
- package/dist/interactive-probe.js.map +3 -3
- package/dist/screen-reader.js +4 -3
- package/dist/screen-reader.js.map +2 -2
- package/package.json +1 -1
- package/src/crawler.ts +768 -52
- package/src/extractors/advanced.ts +27 -1
- package/src/interactive-probe.ts +407 -3
- package/src/job-queue.ts +38 -1
- package/src/screen-reader.ts +12 -6
- package/types/extractors/advanced.d.ts +10 -0
- package/types/interactive-probe.d.ts +36 -0
|
@@ -43,6 +43,35 @@ export interface ConditionalReveal {
|
|
|
43
43
|
triggerValue: string;
|
|
44
44
|
revealedText: string;
|
|
45
45
|
}
|
|
46
|
+
export interface TooltipCapture {
|
|
47
|
+
triggerLabel: string;
|
|
48
|
+
tooltipText: string;
|
|
49
|
+
}
|
|
50
|
+
export interface TabPanelCapture {
|
|
51
|
+
tabLabel: string;
|
|
52
|
+
panelContent: string;
|
|
53
|
+
panelHeading?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface CarouselSlide {
|
|
56
|
+
slideIndex: number;
|
|
57
|
+
heading?: string;
|
|
58
|
+
content: string;
|
|
59
|
+
}
|
|
60
|
+
export interface WizardStep {
|
|
61
|
+
stepIndex: number;
|
|
62
|
+
stepLabel?: string;
|
|
63
|
+
content: string;
|
|
64
|
+
fields: string[];
|
|
65
|
+
}
|
|
66
|
+
export interface FocusTrapResult {
|
|
67
|
+
modalTrigger: string;
|
|
68
|
+
focusTrapped: boolean;
|
|
69
|
+
sampledFocused: string[];
|
|
70
|
+
}
|
|
71
|
+
export interface ContextMenuCapture {
|
|
72
|
+
trigger: string;
|
|
73
|
+
items: string[];
|
|
74
|
+
}
|
|
46
75
|
export interface ProbeResult {
|
|
47
76
|
screenId: string;
|
|
48
77
|
url: string;
|
|
@@ -51,6 +80,13 @@ export interface ProbeResult {
|
|
|
51
80
|
modals: ModalObservation[];
|
|
52
81
|
conditionals: ConditionalReveal[];
|
|
53
82
|
loadingPatterns: string[];
|
|
83
|
+
tooltips?: TooltipCapture[];
|
|
84
|
+
tabPanels?: TabPanelCapture[];
|
|
85
|
+
carouselSlides?: CarouselSlide[];
|
|
86
|
+
wizardSteps?: WizardStep[];
|
|
87
|
+
focusTraps?: FocusTrapResult[];
|
|
88
|
+
skipNavIssues?: string[];
|
|
89
|
+
contextMenus?: ContextMenuCapture[];
|
|
54
90
|
}
|
|
55
91
|
/**
|
|
56
92
|
* Run interactive probing on a single screen page.
|