webctx

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2017 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Width  = "width"
	Height = "height"
	Driver = "driver"
	Args   = "args"
)

Key of context element in testsuite file

View Source
const Name = "web"

Context Type name

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
}

TestCaseContex 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

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

Jump to

Keyboard shortcuts

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