Discover Packages
github.com/jobindex/spectura
decap
package
Version:
v0.15.0
Opens a new window with list of versions in this module.
Published: Jun 6, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type QueryBlock struct {
Actions []Action `json:"actions"`
Repeat *int `json:"repeat"`
While *Action `json:"while"`
}
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"`
}
type Result struct {
Err []string `json:"err"`
Out [][]string `json:"out"`
TabID string `json:"tab_id"`
WindowID string `json:"window_id"`
}
type ViewportBlock struct {
Width int `json:"width"`
Height int `json:"height"`
Orientation *string `json:"orientation"`
Mobile bool `json:"mobile"`
Scale *float64 `json:"scale"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.