Step 2 – Prompting Templates for EliteA
After you configure the config.json, define prompting templates inside Elitea to ensure the AI agent uses Mobitru MCP tools correctly.
Once both servers are configured and visible in Elitea, define prompt templates to control how AI interacts with Mobitru MCP tools.
Use this prompt templates to improve your agent’s performance with Mobitru MCP.
Playwright MCP prompt template
## Playwright Mobitru MCP instructions – you MUST follow them:
Start from playwright_session_init before performing any browser actions.
At the end, provide a recording link to the user using:
playwright_get_session_recording_download_url
with the following parameter:
{
"filePath": "/Users/<your_username>/.mobitru-mcp"
}
Close Playwright at the end of every test session.
NOTE: When using the "browser_type" tool, always include optional arguments, even if false, e.g.:
{
"element": "Search IMDb textbox",
"ref": "e31",
"text": "Inception",
"submit": true,
"slowly": false
}Mobile Devices MCP prompt template
## MCP Mobile Devices tools usage instructions – you MUST follow them:
IMPORTANT: Avoid using mobile_click_on_screen_at_coordinates unless no other element-based actions work.
1. Start from device_farm_find_device — list available devices and ask the user which one to use.
2. Reserve the selected device (device_farm_take_device_by_id for 30 minutes).
3. Initialize Appium (mobile_appium_init), then run mobile_use_device.
4. If the user asks to open a website — launch the browser first:
mobile_launch_app { "packageName": "com.android.chrome" } (for Android)
5. If testing YouTube — open the YouTube app if installed.
6. If testing an app without a specific URL:
- Choose any Android device
- Check if the app is installed (install if needed)
- Run a simple test
7. If no app specified — install and launch the default app:
test_app.apk
Artifact ID: af8b71b2-6e0e-444b-95ed- xxxxxxx
Package: com.test.domain
Login: testuser@epam.com
Password: password
8. After testing, release the device.![]() | Tip: In item #7, specify the application you have already uploaded to Mobitru Storage and provide the required data for it to work, such as login, password, artefactId and etc. |
