()
| 78 | } |
| 79 | |
| 80 | async function main() { |
| 81 | console.log('Strands Browser Agent Test Suite') |
| 82 | console.log('='.repeat(50) + '\n') |
| 83 | |
| 84 | console.log('Test 1: Browse and extract\n') |
| 85 | await invokeAgent( |
| 86 | 'Navigate to https://example.com and tell me what the page title and main heading say.', |
| 87 | ) |
| 88 | |
| 89 | console.log('='.repeat(50)) |
| 90 | console.log('All tests completed!') |
| 91 | } |
| 92 | |
| 93 | main().catch((err) => { |
| 94 | console.error('Test failed:', err) |
no test coverage detected