browser-use-agentcore

Automate cloud-based browser testing and screenshot capture with AWS Bedrock AgentCore Browser.

66|5|Updated Nov 12, 2023
One-click install
npx skills add https://github.com/tsaol/awesome-claude --skill browser-use-agentcore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-use-agentcore
Source: https://github.com/tsaol/awesome-claude/tree/main/skills/browser-use-agentcore
Command: npx skills add https://github.com/tsaol/awesome-claude --skill browser-use-agentcore

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bedrock_agentcore, playwright, nest_asyncio, boto3, and includes scripts (resource) components.

What problem does it solve?

This Skill enables running automated browser tests in the cloud using AWS Bedrock AgentCore Browser, providing reliable cross-browser checks without local browsers.

Core Features & Use Cases

  • Cloud-based browser testing and screenshot capture
  • JavaScript console error detection and API health checks
  • Live session viewing in AWS Console
  • Use Case: Validate a website's availability and render across regions with auto-generated screenshots

Quick Start

  • Install dependencies using pip: pip install bedrock-agentcore playwright boto3 nest-asyncio
  • Run a basic test: python scripts/browser_test.py https://example.com
  • Check API health: python scripts/browser_test.py https://example.com --check-api
  • Generate a JSON report: python scripts/browser_test.py https://example.com -j

Frequently Asked Questions about browser-use-agentcore

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run automated browser tests in the cloud without a local browser?

Run automated browser tests in the cloud using AWS Bedrock AgentCore Browser to execute cross-browser checks and capture screenshots without needing local browsers. You simply provide a URL to the script to validate its availability and rendering.

Can I use Playwright to capture website screenshots on AWS Bedrock AgentCore?

Yes, you can use Playwright to capture website screenshots on AWS Bedrock AgentCore. The Skill automates cloud-based screenshot capture by running provided Python scripts that leverage Playwright within the AgentCore Browser environment.

What do I need to set up cloud-based browser testing with AWS Bedrock?

You need valid AWS credentials, access to AgentCore Browser, and Python dependencies to set up cloud-based browser testing with AWS Bedrock. Install required packages using pip, including bedrock-agentcore, playwright, boto3, and nest-asyncio.

How do I check API endpoint health and detect JavaScript console errors?

Check API endpoint health and detect JavaScript console errors by running the browser test script with the check-api flag. This validates your endpoints and monitors for console errors during the automated cloud browser session.

Does the Skill support generating reports for website health checks?

Yes, the Skill supports generating reports for website health checks. You can output a JSON report by running the test script with the -j flag, which details the visual validation and API verification results.

Can I view live automated browser testing sessions in the AWS Console?

Yes, you can view live automated browser testing sessions directly in the AWS Console. The Skill integrates with AWS Bedrock AgentCore Browser, allowing you to monitor cross-region website availability and rendering checks in real time.