Categorygithub.com/sclevine/agouti
modulepackage
3.0.0+incompatible
Repository: https://github.com/sclevine/agouti.git
Documentation: pkg.go.dev

# README

Agouti

Build Status GoDoc

#agouti IRC on Freenode

Agouti is a library for writing browser-based acceptance tests in Google Go. It provides Gomega matchers and plays nicely with Ginkgo or Spec. See agouti.org and the GoDoc for documentation. Have questions? Check out the Agouti mailing list or the #agouti IRC channel on Freenode.

The integration tests are a great place to see everything in action and get started quickly!

# Packages

Package api provides a generic, low-level WebDriver API client for Go.
No description provided by the author
Package matchers provides a set of Gomega-compatible matchers for use with the agouti package.

# Functions

Browser provides an Option for specifying a browser.
ChromeDriver returns an instance of a ChromeDriver WebDriver.
ChromeOptions is used to pass additional options to Chrome via ChromeDriver.
Desired provides an Option for specifying desired WebDriver Capabilities.
EdgeDriver returns an instance of a EdgeDriver WebDriver.
GeckoDriver returns an instance of a geckodriver WebDriver which supports gecko based brwoser like Firefox.
HTTPClient provides an Option for specifying a *http.Client.
JoinPage creates a Page using existing session URL.
NewCapabilities returns a Capabilities instance with any provided features enabled.
NewPage opens a Page using the provided WebDriver URL.
NewWebDriver returns an instance of a WebDriver specified by a templated URL and command.
PhantomJS returns an instance of a PhantomJS WebDriver.
SauceLabs opens a Sauce Labs session and returns a *Page.
Selendroid returns an instance of a Selendroid WebDriver.
Selenium returns an instance of a Selenium WebDriver.
Timeout provides an Option for specifying a timeout in seconds.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Debug is an Option that connects the running WebDriver to stdout and stdin.
RejectInvalidSSL is an Option specifying that the WebDriver should reject invalid SSL certificates.

# Structs

A Log represents a single log message.
A MultiSelection is a Selection that may be indexed using the At() method.
A Page represents an open browser session.
A ProxyConfig instance defines the desired proxy configuration the WebDriver should use to proxy a Page.
Selection instances refer to a selection of elements.
A WebDriver controls a WebDriver process.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
A Capabilities instance defines the desired capabilities the WebDriver should use to configure a Page.
No description provided by the author
An Option specifies configuration for a new WebDriver or Page.
No description provided by the author
No description provided by the author