Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserPage ¶
type BrowserPage struct {
// contains filtered or unexported fields
}
func (*BrowserPage) GetIcon ¶
func (p *BrowserPage) GetIcon() (string, []byte, error)
GetIcon 获取Icon
func (*BrowserPage) ScreenshotPage ¶
func (p *BrowserPage) ScreenshotPage(isFlag bool) (image.Image, error)
ScreenshotFullPage 截全图 isFlag: 截图增加url地址栏
type Butterfly ¶
type Butterfly struct {
// contains filtered or unexported fields
}
func NewButterfly ¶
func NewButterfly(ctx context.Context, ops ...ButterflyOptionFunc) (*Butterfly, context.CancelFunc, error)
type ButterflyOptionFunc ¶
type ButterflyOptionFunc func(*Butterfly)
func IsDebugWithButterfly ¶
func IsDebugWithButterfly(f bool) ButterflyOptionFunc
func WithLogger ¶
func WithLogger(logg logger.Logger) ButterflyOptionFunc
Click to show internal directories.
Click to hide internal directories.