Skip to content

Commit 0c07a9c

Browse files
committed
updated agents docs
1 parent 49cf73f commit 0c07a9c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/agents.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ CodeceptJS 4 is designed for agent testing. It ships with its own MCP and offici
1111

1212
Agents get full control over test and browser execution:
1313

14-
- **Full HTML access, not ARIA snapshots.** Agents see buttons with icons, empty labels, and other elements Playwright MCP's accessibility tree omits.
14+
- **Full HTML access and ARIA snapshots.** Agents see buttons with icons, empty labels, and other elements Playwright MCP's accessibility tree omits.
1515

16-
- **Query HTML directly with codeceptq.** Agents use XPath or CSS to search HTML instead of tool calls, cutting tokens and overhead.
16+
- **Query HTML directly with CSS, ARIA, Semantic Locators or XPath** Agents can freely run XPath or CSS to efficiently search over HTML.
1717

1818
- **Browser logs and page state as files.** Agents read via native filesystem tools instead of extra requests, eliminating redundant context dumps.
1919

20-
- **Same locators for tests and agents.** Tests and agent scripts share identical selectors—agents inherit battle-tested patterns without guessing.
20+
- **Same locators for tests and agents.** Tests and agent scripts share identical selectors. No elements by reference indexes, no clicks by coordinates. Agents inherit battle-tested patterns without guessing.
2121

2222
- **Testing-first framework, not browser control.** CodeceptJS is built for testing, so agents stay focused on test scenarios instead of raw browser commands.
2323

0 commit comments

Comments
 (0)