toolkit

package
v0.0.45 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

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