Documentation

Index

Constants

View Source
const (
	Width   = "width"
	Height  = "height"
	Driver  = "driver" // Possible values: chrome, phantomjs, gecko
	Args    = "args"
	Prefs   = "prefs"
	Timeout = "timeout"
	Debug   = "debug"
)

    Key of context element in testsuite file

    View Source
    const Name = "web"

      Name of the Context

      Variables

      This section is empty.

      Functions

      func New

      func New() venom.TestCaseContext

        New returns a new TestCaseContext

        Types

        type WebTestCaseContext

        type WebTestCaseContext struct {
        	venom.CommonTestCaseContext
        
        	Page *agouti.Page
        	// contains filtered or unexported fields
        }

          WebTestCaseContext represents the context of a testcase

          func (*WebTestCaseContext) Close

          func (tcc *WebTestCaseContext) Close() error

            Close web driver

            func (*WebTestCaseContext) Init

            func (tcc *WebTestCaseContext) Init() error

              Init build context of type web. It creates a new browser

              Source Files