🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

tzafon

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tzafon

Tzafon Waypoint – browser automation

0.1.4
PyPI
Maintainers
1

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:
        # Navigate to a website
        await wp.goto("https://example.com")

        # Take a screenshot
        image_bytes = await wp.screenshot("screenshot.jpg")

        # Click at a specific position
        await wp.click(100, 200)

        # Type some text
        await wp.type("Hello world")

        # Scroll down
        await wp.scroll(dy=200)

if __name__ == "__main__":
    asyncio.run(main())

Features

  • Web navigation
  • Screenshots
  • Clicking and typing
  • Scrolling
  • Viewport control

License

MIT

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts