Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxRenderDelay = 10 * time.Second MaxTimeout = 120 * time.Second )
Variables ¶
View Source
var (
DefaultPageloadEvents = []string{
"DOMContentLoaded",
"firstMeaningfulPaint",
"load",
"networkAlmostIdle",
}
)
Functions ¶
func AllocateSessions ¶
func AllocateSessions()
Types ¶
type QueryBlock ¶
type Request ¶
type Request struct { Query []*QueryBlock `json:"query"` EmulateViewport *ViewportBlock `json:"emulate_viewport"` ForwardUserAgent bool `json:"forward_user_agent"` RenderDelay string `json:"global_render_delay"` ReuseTab bool `json:"reuse_tab"` ReuseWindow bool `json:"reuse_window"` SessionID string `json:"sessionid"` Timeout string `json:"timeout"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.