MCPcopy Create free account
hub / github.com/serverless/examples / main

Function main

aws-bedrock-agentcore/javascript/strands-browser/test-invoke.js:80–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80async 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
93main().catch((err) => {
94 console.error('Test failed:', err)

Callers 1

test-invoke.jsFile · 0.70

Calls 1

invokeAgentFunction · 0.70

Tested by

no test coverage detected