Documentation
¶
Index ¶
- type Browser
- type Page
- func (p *Page) Close()
- func (p *Page) Context() context.Context
- func (p *Page) Eval(script string) error
- func (p *Page) Evaluate(script string, out any) error
- func (p *Page) FullScreenshot(path string) error
- func (p *Page) Goto(url string) error
- func (p *Page) Screenshot(selector, path string) error
- func (p *Page) SetViewport(width, height int) error
- func (p *Page) Wait(d time.Duration)
- func (p *Page) WaitForFunction(expr string, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct {
// contains filtered or unexported fields
}
func (*Page) FullScreenshot ¶
func (*Page) Screenshot ¶
func (*Page) SetViewport ¶
Click to show internal directories.
Click to hide internal directories.