From 72c135f5cd62494bf83b4d46402437b7d7102fd3 Mon Sep 17 00:00:00 2001 From: AI-Hub-Admin Date: Sun, 22 Mar 2026 12:10:12 +0800 Subject: [PATCH] update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index e8d719e..ab68f5a 100644 --- a/README.md +++ b/README.md @@ -291,6 +291,22 @@ npx playwright-cli open https://example.com npx playwright-cli click e1 ``` +### CLI Hints +Use agtm cli hints to help both humans and agents complete playwright commands, either interactively or directly. + +
+Hints + +```shell +# Interactive CLI mode for humans and agents: agtm run +agtm run play # Uses hints to resolve to the Playwright CLI +agtm run microsoft/playwright-cli open ## "goto" is hinted as a Playwright command (navigate to a URL) +# agent mode Non Interactive Hints +agtm run microsoft/playwright-cli open --mode agent ## agent mode return hints for similar commands of keyword "open" +``` + +
+ ## Configuration file The Playwright CLI can be configured using a JSON configuration file. You can specify the configuration file using the `--config` command line option: