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
}
网站下载引擎
func NewBrowser ¶
func NewBrowser(ctx context.Context, ops ...BrowserOption) (*Browser, error)
type BrowserOption ¶
func BrowserWithRemoteDevice ¶
func BrowserWithRemoteDevice(remote string) BrowserOption
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(isFull, isFlag bool) (image.Image, error)
ScreenshotFullPage 截全图 isFull: 截全图, 滚动加载 isFlag: 截图增加url地址栏
Click to show internal directories.
Click to hide internal directories.