mirror of
https://github.com/morluto/rea.git
synced 2026-11-11 01:13:39 +00:00
fix(browser): preserve DOM length units in captures and comparisons (#7971)
* fix(browser): declare DOM node value length units * fix(browser): preserve unknown DOM length comparisons
This commit is contained in:
1 parent
cf9f010dcd
commit
50b2ab137f
11 files changed
+389
-81
No files matched your search
@@ -6,7 +6,7 @@ import { browserCompletenessSchema } from "../browserCompleteness.js";
|
||||
import { browserEndpointSchema } from "../browserObservation.js";
|
||||
import { browserVersionSchema } from "../browserObservationSchemas.js";
|
||||
import {
|
||||
cdpDomNodeSchema,
|
||||
cdpDomSnapshotSchema,
|
||||
cdpScriptSourceSchema,
|
||||
cdpScriptMetadataSchema,
|
||||
} from "../cdpObservationSchemas.js";
|
||||
@@ -96,10 +96,7 @@ export const electronPageInspectionSchema = z.object({
|
||||
file_path: z.string(),
|
||||
}),
|
||||
),
|
||||
dom: z.object({
|
||||
total_nodes: z.int().min(0),
|
||||
nodes: z.array(cdpDomNodeSchema),
|
||||
}),
|
||||
dom: cdpDomSnapshotSchema,
|
||||
scripts: z.object({
|
||||
total: z.int().min(0),
|
||||
items: z.array(
|
||||
|
||||
Reference in new issue
Block a user