Documentation ¶
Index ¶
- type Browser
- 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) HandleEvent(method string, params interface{}) error
- func (tab *Tab) HandleResult(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) 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 Browser ¶ added in v1.2.0
type Browser struct {
// contains filtered or unexported fields
}
type Option ¶ added in v1.2.0
type Option func(b *Browser)
func WithChrome ¶ added in v1.2.0
func WithDataDir ¶ added in v1.2.0
func WithRemoteAddr ¶ added in v1.2.0
func WithTimeout ¶ added in v1.2.0
type Tab ¶ added in v1.2.0
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"` Ipc ipc `json:"-"` }
func (*Tab) HandleEvent ¶ added in v1.2.0
func (*Tab) HandleResult ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.