You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**uids** (array) **(required)**: The uids of elements on the page from the page content snapshot
403
+
-**properties** (array) _(optional)_: Optional filter list
404
+
405
+
---
406
+
339
407
### `get_console_message`
340
408
341
409
**Description:** Gets a console message by its ID. You can get all messages by calling [`list_console_messages`](#list_console_messages).
@@ -346,6 +414,26 @@ so returned values have to be JSON-serializable.
346
414
347
415
---
348
416
417
+
### `get_visibility`
418
+
419
+
**Description:** Return visibility diagnostics for an element: isVisible and reasons.
420
+
421
+
**Parameters:**
422
+
423
+
-**uid** (string) **(required)**: The uid of an element on the page from the page content snapshot
424
+
425
+
---
426
+
427
+
### `highlight_elements_for_styles`
428
+
429
+
**Description:** Enable CDP overlay highlights on elements (last uid wins in DevTools; response lists all border quads for external overlays).
430
+
431
+
**Parameters:**
432
+
433
+
-**uids** (array) **(required)**: Element uids from the current page snapshot
434
+
435
+
---
436
+
349
437
### `lighthouse_audit`
350
438
351
439
**Description:** Get Lighthouse score and reports for accessibility, SEO and best practices. This excludes performance. For performance audits, run [`performance_start_trace`](#performance_start_trace)
@@ -371,6 +459,18 @@ so returned values have to be JSON-serializable.
371
459
372
460
---
373
461
462
+
### `save_computed_styles_snapshot`
463
+
464
+
**Description:** Save a named snapshot (schema v1): computed styles, optional border geometry, domPath, backendNodeId, and page meta for later diff/matching.
465
+
466
+
**Parameters:**
467
+
468
+
-**name** (string) **(required)**: Snapshot name
469
+
-**uids** (array) **(required)**: The uids of elements on the page from the page content snapshot
470
+
-**properties** (array) _(optional)_: Optional filter list
471
+
472
+
---
473
+
374
474
### `take_screenshot`
375
475
376
476
**Description:** Take a screenshot of the page or element.
0 commit comments