Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Chrome denotes the Chrome driver Chrome = "chrome" // Ie denotes the IE driver Ie = "ie" // Edge denotes the Edge driver Edge = "edge" // PhantomJS denotes the PhantomJS driver PhantomJS = "phantomjs" // Desktop denotes the desktop (Appium or WinAppDriver) Desktop = "desktop" // Mock denotes that a "mock" driver will be used for unit testing Mock = "mock" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { DriverType string WebDriver interfaces.DriverService IsStarted bool }
Client encapsulates the web driver and associated utilities specified by the project's settings.
func NewClient ¶
NewClient is a factory for creating new WebDrivers and associated utilities based on the provided configuration.
func (*Client) StartDriver ¶
StartDriver starts the driver associated with this client
func (*Client) StopDriver ¶
StopDriver kills the process the driver associated with this client is running on
Click to show internal directories.
Click to hide internal directories.