spanner

package module
v0.0.0-...-0e953d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

README

spanner

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxier

type Proxier interface {
	GetProxy() (*url.URL, error)
}

type Spanner

type Spanner struct {
	// contains filtered or unexported fields
}

func New

func New(proxy Proxier) (*Spanner, error)

func NewHeadless

func NewHeadless(proxy Proxier) (*Spanner, error)

func (*Spanner) Browser

func (g *Spanner) Browser() selenium.WebDriver

func (*Spanner) End

func (g *Spanner) End() error

Dispose the browser

func (*Spanner) ExecuteScript

func (g *Spanner) ExecuteScript(script string, args []interface{}) (interface{}, error)

func (*Spanner) PageSource

func (g *Spanner) PageSource() (string, error)

func (*Spanner) Start

func (g *Spanner) Start(url string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL