Skip to main content

hanzo-tools-browser

Browser automation tools for Hanzo MCP using Playwright.

Installation

pip install hanzo-tools-browser

Tools

browser - Complete Playwright API

70+ browser actions for full automation.

Navigation:

browser(action="navigate", url="https://example.com")
browser(action="go_back")
browser(action="reload")

Input:

browser(action="click", selector="button.submit")
browser(action="fill", selector="input[name=email]", text="user@example.com")
browser(action="type", selector="textarea", text="Hello")

Touch/Mobile:

browser(action="tap", selector=".button")
browser(action="swipe", selector=".carousel", direction="left")
browser(action="emulate", device="mobile")  # or tablet, laptop

Assertions:

browser(action="expect_visible", selector=".modal")
browser(action="expect_text", selector="h1", expected="Welcome")
browser(action="expect_url", expected="*/dashboard*")

Content:

browser(action="get_text", selector=".content")
browser(action="screenshot", full_page=True)
browser(action="pdf")

Parallel Agents:

# Each agent gets isolated session
browser(action="new_context")  # Separate cookies/storage

Device Presets:

  • mobile - iPhone-like (390x844, touch)
  • tablet - iPad-like (1024x1366, touch)
  • laptop - MacBook-like (1440x900)
  • iphone_14, pixel_7, ipad_pro, etc.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hanzo_tools_browser-0.5.11.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hanzo_tools_browser-0.5.11-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file hanzo_tools_browser-0.5.11.tar.gz.

File metadata

  • Download URL: hanzo_tools_browser-0.5.11.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for hanzo_tools_browser-0.5.11.tar.gz
Algorithm Hash digest
SHA256 1a7700f5cd789b4d98102ee20162200c8f0e5e43876665508cd359c1914b8786
MD5 6c7dd87a1b9fa4d3890d788035d6e59f
BLAKE2b-256 ff18f100ac5634775218d9ab43ec8b81674d54ab8bddef15d361b16432a6ac4e

See more details on using hashes here.

File details

Details for the file hanzo_tools_browser-0.5.11-py3-none-any.whl.

File metadata

File hashes

Hashes for hanzo_tools_browser-0.5.11-py3-none-any.whl
Algorithm Hash digest
SHA256 5966c537727477cdc18976e6e9d55547764cd814a632527169943b0cd90cddf8
MD5 110bfb56ccb96a96e05dabf5b618bf80
BLAKE2b-256 0ca7085d4f83f9781a91299a13e8c13a54bd913990eff7300cbb94ce9510f394

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.11 This release

2 files

0.5.10

2 files

0.5.9

2 files

0.5.8

2 files

0.5.7

2 files

0.5.6

2 files

0.5.5

2 files

0.5.4

2 files

0.5.0

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page