Tzafon Waypoint
A Python client for interacting with the tzafon API for web automation (waypoint.tzafon.ai).
Installation
pip install tzafon
Usage
import asyncio
from tzafon import Waypoint
async def main():
async with Waypoint(token="wpk_your_token_here") as wp:
await wp.goto("https://example.com")
image_bytes = await wp.screenshot("screenshot.jpg")
await wp.click(100, 200)
await wp.type("Hello world")
await wp.scroll(dy=200)
if __name__ == "__main__":
asyncio.run(main())
Features
- Web navigation
- Screenshots
- Clicking and typing
- Scrolling
- Viewport control
License
MIT