Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserOptions ¶
type BrowserOptions struct { FollowRedirects bool Method common.HttpMethod }
type BrowserPageCapturer ¶
type BrowserPageCapturer struct { PathToBrowser *string Browser *rod.Browser TimeoutSeconds int MinDOMStabalizeTimeSeconds int }
func NewBrowserPageCapturer ¶
func NewBrowserPageCapturer(pathToBrowser *string, timeout int, minDOMStabalizeTime int) *BrowserPageCapturer
func NewBrowserPageCapturerWithClient ¶
func NewBrowserPageCapturerWithClient(client *cdp.Client, timeout int, minDOMStabalizeTime int) *BrowserPageCapturer
func (*BrowserPageCapturer) Capture ¶
func (b *BrowserPageCapturer) Capture(ctx context.Context, url string, options *BrowserOptions) (*common.RequestInfo, error)
func (*BrowserPageCapturer) InitializeBrowser ¶
func (b *BrowserPageCapturer) InitializeBrowser()
Click to show internal directories.
Click to hide internal directories.