Configuring Browser Settings
Before using Web Agent, you need to configure the browser settings in PostQode to establish a connection with your browser for automation tasks.
Step-by-Step Setup
Step 1: Access PostQode Settings
- Open VS Code with PostQode extension installed
- Click on the PostQode icon in the sidebar to open the PostQode panel
- Click on the Settings icon (gear icon) in the PostQode panel
Step 2: Navigate to Browser Settings
- In the Settings panel, find Browser
- Click on Browser to see the configuration options
Step 3: Configure Remote Browser Connection
- Look for the "Use Remote Browser Connection" option
- Check the checkbox to enable remote browser connection
- Click on "Launch Browser with Debug Mode" button
- If the connection is successful, you'll see a green indicator showing "Connected"
- If the connection fails, you'll see a red indicator showing "Not Connected"
Troubleshooting Browser Connection
Common Issues and Solutions
Connection Failed
- Check Internet Connection: Ensure you have a stable internet connection
- Firewall Settings: Make sure PostQode is allowed through your firewall
- Browser Permissions: Grant necessary permissions for browser automation
Slow Connection
- Network Latency: Remote connections may have higher latency
- Server Load: Remote browser services may be under heavy load
- Local Resources: Check if your local machine has sufficient resources
Browser Not Responding
- Restart Connection: Toggle the remote browser connection off and on
- Clear Cache: Clear browser cache and cookies
- Update Browser: Ensure your browser is up to date
Advanced Configuration
Browser Options
You can configure additional browser options:
- Browser Type: Choose between Chrome, Firefox, Safari, or Edge
- Viewport size: Set default browser window dimensions
Verifying Your Setup
After configuring browser settings:
- Check Connection Status: Ensure the indicator shows "Connected"
- Test Basic Navigation: Try navigating to a simple website
- Verify Screenshots: Confirm that screenshots are being captured
- Test Interactions: Try clicking a button or filling a form
Next Steps
Once your browser settings are configured: