browser

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowserType

type BrowserType string
const (
	BrowserAuto    BrowserType = "auto"
	BrowserChrome  BrowserType = "chrome"
	BrowserFirefox BrowserType = "firefox"
	BrowserSafari  BrowserType = "safari"
	BrowserZen     BrowserType = "zen"
)

type CookieExtractor

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

func NewCookieExtractor

func NewCookieExtractor(browserType BrowserType, customPaths map[string]string) *CookieExtractor

func (*CookieExtractor) DetectAvailableBrowsers

func (ce *CookieExtractor) DetectAvailableBrowsers() []BrowserType

func (*CookieExtractor) ExtractCookies

func (ce *CookieExtractor) ExtractCookies(targetURL string) ([]*http.Cookie, error)

Jump to

Keyboard shortcuts

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