browser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install() (string, error)

func InstallDir

func InstallDir() (string, error)

func Login

func Login(ctx context.Context, executable string, timeout time.Duration) (*session.Session, error)

func ProfileDir

func ProfileDir() (string, error)

func Refresh

func Refresh(ctx context.Context, executable string) (*session.Session, error)

func RemoveProfile

func RemoveProfile() error

Types

type Browser

type Browser struct {
	Context playwright.BrowserContext
	// contains filtered or unexported fields
}

func Launch

func Launch(executable string, visible bool) (*Browser, error)

func (*Browser) Close

func (b *Browser) Close()

func (*Browser) Page

func (b *Browser) Page() (playwright.Page, error)

Jump to

Keyboard shortcuts

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