clients

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	DriverType string
	WebDriver  *agouti.WebDriver
	IsStarted  bool
}

Client encapsulates the web driver and associated utilities specified by the project's settings.

func NewClient

func NewClient(sysSettings *config.Settings, fs *fs.Fs) (*Client, error)

NewClient is a factory for creating new WebDrivers and associated utilities based on the provided configuration.

func (*Client) StartDriver

func (c *Client) StartDriver() error

StartDriver starts the driver associated with this client

func (*Client) StopDriver

func (c *Client) StopDriver() error

StopDriver kills the process the driver associated with this client is running on

Jump to

Keyboard shortcuts

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