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.10.tar.gz (39.9 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.10-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hanzo_tools_browser-0.5.10.tar.gz
  • Upload date:
  • Size: 39.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for hanzo_tools_browser-0.5.10.tar.gz
Algorithm Hash digest
SHA256 9eedb479a82ddeed3e38959ca274867e9c4a0267416126a9d1a2023f43d3134f
MD5 52ec09cdbc5d5563db841efb97cca8cf
BLAKE2b-256 ae2767e6b1ec809699af5eef99f4f1ed244cdfc8a5a12e68542b72ec86d1bf53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hanzo_tools_browser-0.5.10-py3-none-any.whl
Algorithm Hash digest
SHA256 84111194c57a4f1847c6d6d2be484e733a5e47472f5569991d05620638991df7
MD5 73131edeaebf90cb3be89de411e47552
BLAKE2b-256 6be914ae4a80143976867553024a658e50798872eebf2c78e3b2952f0edf757d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.11

2 files

This release

0.5.10 This release

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