Documentation ¶
Index ¶
- Constants
- Variables
- func CopyMap(m map[string]interface{}) map[string]interface{}
- type Driver
- func (d *Driver) Call(ctx context.Context, methodname string, msg M, timeout time.Duration) (M, error)
- func (d *Driver) Close()
- func (d *Driver) CountOcurrences(ctx context.Context, tabid int, substr string) (int, error)
- func (d *Driver) CountOcurrencesDom(ctx context.Context, tabid int, substr string) (int, error)
- func (d *Driver) Eval(ctx context.Context, tabid int, code string) (M, error)
- func (d *Driver) EvalInCurrentTab(ctx context.Context, code string) (M, error)
- func (d *Driver) Events(ctx context.Context) chan M
- func (d *Driver) PageSource(ctx context.Context, tabid int) (string, error)
- func (d *Driver) Ping(ctx context.Context) (M, error)
- func (d *Driver) TabCreate(ctx context.Context, createProperties M) (int, error)
- func (d *Driver) TabCreateWithTimeout(ctx context.Context, createProperties M, timeout time.Duration) (int, error)
- func (d *Driver) TabRemove(ctx context.Context, tabid int) (M, error)
- type M
Constants ¶
View Source
const CallTimeout = 60 * time.Second
Variables ¶
View Source
var ErrStatusFalse = errors.New("status=False(((")
todo: StatusFalse error
Functions ¶
Types ¶
type Driver ¶
type Driver struct { Host string // contains filtered or unexported fields }
func NewChromeDriver ¶
func (*Driver) CountOcurrences ¶
func (*Driver) CountOcurrencesDom ¶
func (*Driver) EvalInCurrentTab ¶
func (*Driver) PageSource ¶
func (*Driver) TabCreateWithTimeout ¶
Click to show internal directories.
Click to hide internal directories.