:Release Notes: - pi configuration do not configured to work with devtools mcp server :Detailed Notes: - Added configuration for agent-browser, but no good results was received. Seems like on a complex webpages like rutube.ru we could encounter several buttons which compacting to the identical nodes, leading to a problems with navigation - agent-browser compaction of a11y tree seems to be a good starting point, but not sufficient :Testing Performed: - prompt: Launch <Movie> on rutube in both opencode and pi :QA Notes: - :Issues Addressed: -
43 lines
1.5 KiB
Markdown
43 lines
1.5 KiB
Markdown
---
|
|
name: ms-teams-send-message
|
|
description: Locate or open a Microsoft Teams chat and send a composed message using agent-browser. Covers Ctrl+Enter and delivery confirmation. Use only when the user asks to send a Teams message or open a specific Teams chat.
|
|
---
|
|
|
|
# MS Teams send message
|
|
|
|
## Locate the chat
|
|
|
|
1. List tabs with `agent-browser tab` and identify the Teams tab.
|
|
2. Switch to it with `agent-browser tab tN`.
|
|
3. Inspect it with `agent-browser snapshot -i -c`.
|
|
4. Click the target chat's current ref, then take a fresh snapshot.
|
|
|
|
Prefer an already open authenticated Teams tab. Do not open a duplicate if one exists.
|
|
|
|
## Send
|
|
|
|
After confirming the draft is correct, either click the `Send (Ctrl+Enter)` button from the latest snapshot or use:
|
|
|
|
```bash
|
|
agent-browser press Control+Enter
|
|
```
|
|
|
|
Only send when the user explicitly requested sending. If they asked to compose, type, draft, or prepare a message, stop before sending.
|
|
|
|
Do not rely on Enter alone because Teams behavior varies with the user's “send on Enter” setting. `Shift+Enter` is for line breaks.
|
|
|
|
## Confirm delivery
|
|
|
|
Wait for a distinctive substring and inspect the resulting state:
|
|
|
|
```bash
|
|
agent-browser wait --text 'distinctive message substring'
|
|
agent-browser snapshot -i -c
|
|
```
|
|
|
|
Teams may also announce `Message sent.` through an atomic live region. Never report success without verifying the sent message or confirmation state.
|
|
|
|
## Cleanup
|
|
|
|
If an unwanted test draft exists, focus the editor, press `Control+a`, then `Delete`. Verify the empty placeholder before navigating away.
|