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