Exploring Tools
Remote Browser Support

Web Interaction Capabilities

Remote Browser Functionality

Bwat's remote browser integration enables direct interaction with web content through a managed Chrome instance, providing developers with powerful testing and analysis tools while maintaining security and control.

Core Features

The remote browser allows Bwat to:

  • Render and navigate web pages
  • Test locally hosted applications
  • Interact with page elements (clicks, form input, scrolling)
  • Capture visual snapshots
  • Monitor console output and network activity

Implementation Guide

Basic Commands

Developers can initiate browser actions through natural language instructions:

  • Page Navigation: "Open https://example.com (opens in a new tab) in the browser"
  • Element Interaction: "Click the submit button with ID 'form-submit'"
  • Content Input: "Enter test credentials in the login fields"
  • Viewport Control: "Scroll to the page footer"
  • Session Management: "Terminate the current browser session"

Practical Applications

Local Development Testing

Launch the development server and verify the dashboard renders correctly at http://localhost:8080

Competitive Analysis

Analyze the UX patterns on https://competitor.com and suggest improvements for our implementation

Form Validation

Test the registration form at https://staging.our-app.com/signup with synthetic user data

Technical Considerations

Session Management

  • Single active browser instance
  • Requires explicit session termination before file operations
  • Fixed 900x600 viewport (configurable)

Debugging Support

  • Automatic console log capture
  • Visual confirmation via screenshots
  • Network request monitoring

Configuration Requirements

For WSL environments:

Windows Firewall Configuration (Admin PowerShell):

New-NetFirewallRule -DisplayName "WSL Chrome Access" -Direction Inbound -LocalPort 9222 -Protocol TCP -Action Allow

VS Code Settings:

Set Bwat: Chrome Executable Path to Chrome's installation location

Example: C:\Program Files\Google\Chrome\Application\chrome.exe

Best Practices

  • Terminate sessions before switching to code editing
  • Use precise element selectors for interactions
  • Verify URLs include protocol specifiers (http/https)
  • Review console logs for diagnostic information
  • Utilize screenshots for visual verification

This functionality bridges the gap between automated testing and AI-assisted development, providing real-time feedback while maintaining security through controlled execution.