Documentation ¶
Overview ¶
Binary launcher is used to manage the envrionment for web tests and start the underlying test.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEnvProviderFunc ¶
func RegisterEnvProviderFunc(name string, p envProvider)
RegisterEnvProviderFunc adds a new env provider.
func Run ¶
func Run(d diagnostics.Diagnostics, testPath, mdPath string, debuggerPort int) int
Run runs the test.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package diagnostics provides the Diagnostics interface for reporting various test statistics as well as a no-op implementation of the interface.
|
Package diagnostics provides the Diagnostics interface for reporting various test statistics as well as a no-op implementation of the interface. |
Package environment provides an interface for defining how browser environments are managed.
|
Package environment provides an interface for defining how browser environments are managed. |
external
Package external works with an externally started WebDriver server located at EXTERNAL_WEBDRIVER_SERVER_ADDRESS.
|
Package external works with an externally started WebDriver server located at EXTERNAL_WEBDRIVER_SERVER_ADDRESS. |
local
Package local provides a basic environment for web tests locally.
|
Package local provides a basic environment for web tests locally. |
sauce
Package sauce provides a simple environment for accessing a SauceLabs browser.
|
Package sauce provides a simple environment for accessing a SauceLabs browser. |
Binary launcher is used to manage the envrionment for web tests and start the underlying test.
|
Binary launcher is used to manage the envrionment for web tests and start the underlying test. |
Package proxy provides a WebDriver protocol that forwards requests to a WebDriver server provided by an environment.Env.
|
Package proxy provides a WebDriver protocol that forwards requests to a WebDriver server provided by an environment.Env. |
driverhub
Package driverhub provides a handler for proxying connections to a Selenium server.
|
Package driverhub provides a handler for proxying connections to a Selenium server. |
driverhub/debugger
Package debugger enables WTL Debugger.
|
Package debugger enables WTL Debugger. |
driverhub/drivermu
Package drivermu implements a handler that temporally serializes all commands to a session.
|
Package drivermu implements a handler that temporally serializes all commands to a session. |
driverhub/googlescreenshot
Package googlescreenshot includes a handler for an advanced screenshot endpoint at POST google/screenshot.
|
Package googlescreenshot includes a handler for an advanced screenshot endpoint at POST google/screenshot. |
driverhub/quithandler
Package quithandler checks if a window close command is closing the last window and treats it as a quit if it is.
|
Package quithandler checks if a window close command is closing the last window and treats it as a quit if it is. |
driverhub/scripttimeout
Package scripttimeout translates calls to set script timeout into calls on the WebDriver object so it can record the last set script timeout.
|
Package scripttimeout translates calls to set script timeout into calls on the WebDriver object so it can record the last set script timeout. |
healthz
Package healthz provides an HTTPHandler that always returns the string "ok".
|
Package healthz provides an HTTPHandler that always returns the string "ok". |
Package service provides the Service interface for managing the life-cycle of a single binary.
|
Package service provides the Service interface for managing the life-cycle of a single binary. |
wsl
Package wsl provides a Service for launching WebDriver Server Light (WSL).
|
Package wsl provides a Service for launching WebDriver Server Light (WSL). |
Click to show internal directories.
Click to hide internal directories.