Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHeadless ¶
func NewHeadless(ctx context.Context, starturl string, extra ...chromedp.ExecAllocatorOption) (context.Context, error)
NewHeadless 创建headless chrome实例 chromedp内部有自己的超时设置,你也可以通过ctx来设置更短的超时
Types ¶
type Chrome ¶
func (*Chrome) Description ¶
Click to show internal directories.
Click to hide internal directories.