toolkit

package
v0.0.97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package toolkit provides a collection of tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Browser

type Browser struct {
	// contains filtered or unexported fields
}

Browser represents a collection of schema.Tool objects that enable interaction with a browser.

func NewBrowser

func NewBrowser(browser playwright.Browser) (*Browser, error)

NewBrowser creates a new Browser object from the given playwright.Browser instance. It initializes various schema.Tool objects that facilitate interactions with the browser.

func (*Browser) Tools

func (tk *Browser) Tools() []schema.Tool

Tools returns the list of schema.Tool objects associated with the Browser.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL