🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

OpenClaw Native Browser

by @yungookim

A stable native browser (WKWebView) for OpenClaw agents. Opens a visible window with tab management, URL bar, and login helpers — every website works, includ...

Versionv0.1.0
Installs4
💡 Examples

Example: Load and Read a Page

from src import OpenClawBrowserSkill

skill = OpenClawBrowserSkill() skill.load('https://example.com')

Get page content

title = skill.get_title() print(f"Page title: {title}")

Execute JavaScript

result = skill.execute_js('document.querySelector("h1").textContent') print(f"H1 text: {result}")

skill.close()

Example: Fill a Form

from src import OpenClawBrowserSkill

skill = OpenClawBrowserSkill() skill.load('https://example.com/contact')

Wait for form to load

skill.wait_for_element('input[name="email"]')

Fill form

skill.type_text('input[name="email"]', 'user@example.com') skill.type_text('textarea[name="message"]', 'Hello from OpenClaw!') skill.click('button[type="submit"]')

Wait for confirmation

skill.wait_for_element('.success-message')

skill.close()

Example: Login to Perplexity

from src import OpenClawBrowserSkill

skill = OpenClawBrowserSkill()

Built-in login helper

skill.login_perplexity('your-email@example.com', 'your-password')

Now you can use Perplexity

skill.load('https://perplexity.ai') skill.type_text('textarea[placeholder="Ask anything..."]', 'What is quantum computing?') skill.click('button[aria-label="Submit"]')

skill.close()

Example: Multi-Tab Workflow

from src import OpenClawBrowserSkill

skill = OpenClawBrowserSkill()

Open multiple tabs

tab1 = skill.browser.new_tab('https://github.com') tab2 = skill.browser.new_tab('https://stackoverflow.com')

Switch between tabs

skill.browser.switch_tab(tab1) title1 = skill.get_title()

skill.browser.switch_tab(tab2) title2 = skill.get_title()

print(f"Tab 1: {title1}, Tab 2: {title2}")

Close individual tabs

skill.browser.close_tab(tab1) skill.browser.close_tab(tab2)

skill.close()

📋 Tips & Best Practices

  • Browser doesn't appear: Make sure you're running on macOS 10.14+
  • Element not found: Use execute_js() to inspect the page structure
  • Login fails: Check credentials and website changes
  • Performance issues: The browser is a native app, so it should be fast. If slow, check system resources.
  • View on ClawHub
    TERMINAL
    clawhub install openclaw-browser-2

    🧪 Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    🔍 Can't find the right skill?

    Search 60,000+ AI agent skills — free, no login needed.

    Search Skills →