Documentation ¶
Index ¶
- type Browser
- type Channel
- type Error
- type Event
- type Option
- type Return
- type Tab
- func (tab *Tab) Capture(filename string, quality int, viewport page.Viewport) error
- func (tab *Tab) Check(selector string, checked bool) error
- func (tab *Tab) Click(selector string) error
- func (tab *Tab) Close() error
- func (tab *Tab) DOMCapture(filename string, quality int, selector string) error
- func (tab *Tab) FullCapture(filename string, quality int) error
- func (tab *Tab) GetResult(returns interface{}) error
- func (tab *Tab) Input(selector, v string) error
- func (tab *Tab) Js(js string, timeout runtime.TimeDelta) (object runtime.RemoteObject, err error)
- func (tab *Tab) Jump(url string) error
- func (tab *Tab) PollEvent(method string, params interface{}) error
- func (tab *Tab) Query(selector string) ([]*dom.NodeId, error)
- func (tab *Tab) Refresh() error
- func (tab *Tab) Select(selector, v string) error
- func (tab *Tab) Send(method string, params interface{}) error
- func (tab *Tab) Text(selector string) string
- func (tab *Tab) Value(selector string) string
- func (tab *Tab) Wait() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tab ¶
type Tab struct { Id string `json:"id"` Url string `json:"url"` Type string `json:"type"` Title string `json:"title"` DevtoolsFrontendUrl string `json:"devtoolsFrontendUrl"` WebSocketDebuggerUrl string `json:"webSocketDebuggerUrl"` Channel Channel `json:"-"` // contains filtered or unexported fields }
func (*Tab) DOMCapture ¶
元素截图
Click to show internal directories.
Click to hide internal directories.