From 6fd3fef9fa6ffeef126be15f6033552ab745a63c Mon Sep 17 00:00:00 2001 From: PJ Date: Thu, 13 Aug 2026 22:55:20 +0530 Subject: [PATCH] docs(manual): attrs carries raw attribute names on web too Claude-Session: https://claude.ai/code/session_01A5KmftdEJ49A9z5mF5ESrX --- docs/manual/spec-language.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/manual/spec-language.md b/docs/manual/spec-language.md index c634371..c7ca1f6 100644 --- a/docs/manual/spec-language.md +++ b/docs/manual/spec-language.md @@ -147,7 +147,11 @@ Fields available on every element returned by `find` / `findAll`: - `id` maps to the HTML `id` attribute. - `desc` is derived from `aria-label`, `alt`, or `title`. - `class` is the lowercase HTML tag name (e.g., `button`, `input`). -- `attrs` contains all HTML attributes available to CDP. +- `attrs` contains all HTML attributes available to CDP, keyed by the name the + markup writes (`attrs["data-cents"]`, not `attrs.cents`). +- `attrs.hintText` names an editable field the way a user reads it: its + `aria-label`, the `