Documentation ¶
Index ¶
- type DrakmaClient
- type Scraper
- func (s *Scraper) Click(selector string)
- func (s *Scraper) Hover(selector string)
- func (s *Scraper) StartDriver(scraperOptions ScraperOptions) error
- func (s *Scraper) StartService(scraperOptions ScraperOptions) error
- func (s *Scraper) StopDriver()
- func (s *Scraper) StopService()
- func (s *Scraper) Text(selector string) (string, error)
- func (s *Scraper) Type(selector, text string)
- func (s *Scraper) Visit(url string)
- func (s *Scraper) WaitForElement(selector string)
- func (s *Scraper) WaitForElementE(selector string) error
- type ScraperOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DrakmaClient ¶
func (*DrakmaClient) NewRequest ¶
type Scraper ¶
type Scraper struct { SeleniumService *selenium.Service SeleniumDriver selenium.WebDriver Err error }
func (*Scraper) StartDriver ¶
func (s *Scraper) StartDriver(scraperOptions ScraperOptions) error
func (*Scraper) StartService ¶
func (s *Scraper) StartService(scraperOptions ScraperOptions) error
func (*Scraper) StopDriver ¶
func (s *Scraper) StopDriver()
func (*Scraper) StopService ¶
func (s *Scraper) StopService()
func (*Scraper) WaitForElement ¶
func (*Scraper) WaitForElementE ¶
Click to show internal directories.
Click to hide internal directories.