webctx

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Width   = "width"
	Height  = "height"
	Driver  = "driver"
	Args    = "args"
	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

Jump to

Keyboard shortcuts

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