Documentation
¶
Index ¶
- type Browser
- func (b *Browser) Click(ctx context.Context, selector string) error
- func (b *Browser) CloseBrowser() error
- func (b *Browser) ClosePage(ctx context.Context, page playwright.Page) error
- func (b *Browser) Evaluate(ctx context.Context, script string, args ...interface{}) (interface{}, error)
- func (b *Browser) Fill(ctx context.Context, selector string, text string) error
- func (b *Browser) GetActivePage(ctx context.Context) (playwright.Page, error)
- func (b *Browser) GetHTML(ctx context.Context, selector string) (string, error)
- func (b *Browser) GetPages(ctx context.Context) ([]playwright.Page, error)
- func (b *Browser) GetTitle(ctx context.Context) (string, error)
- func (b *Browser) GetUrl(ctx context.Context) (string, error)
- func (b *Browser) Goto(ctx context.Context, url string) (string, error)
- func (b *Browser) InstallBrowser() error
- func (b *Browser) NewPage(ctx context.Context) error
- func (b *Browser) OpenBrowser(ctx context.Context, args map[string]interface{}) error
- func (b *Browser) Screenshot(ctx context.Context, path string) error
- func (b *Browser) SelectOption(ctx context.Context, selector string, value string) error
- func (b *Browser) Sleep(ctx context.Context, duration time.Duration) error
- func (b *Browser) SwitchPage(ctx context.Context, index int) error
- func (b *Browser) WaitForSelector(ctx context.Context, selector string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Browser ¶
type Browser struct {
// contains filtered or unexported fields
}
func (*Browser) CloseBrowser ¶
func (*Browser) GetActivePage ¶
func (*Browser) InstallBrowser ¶
func (*Browser) OpenBrowser ¶
func (*Browser) SelectOption ¶
Click to show internal directories.
Click to hide internal directories.