integrations

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTMLDoc

type HTMLDoc struct {
	// contains filtered or unexported fields
}

HTMLDoc struct

func NewHTMLParser

func NewHTMLParser(t testing.TB, content []byte) *HTMLDoc

NewHTMLParser parse html file

func (*HTMLDoc) AssertElement added in v1.3.0

func (doc *HTMLDoc) AssertElement(t testing.TB, selector string, checkExists bool)

AssertElement check if element by selector exists or does not exist depending on checkExists

func (*HTMLDoc) GetCSRF

func (doc *HTMLDoc) GetCSRF() string

GetCSRF for get CSRC token value from input

func (*HTMLDoc) GetInputValueByID

func (doc *HTMLDoc) GetInputValueByID(id string) string

GetInputValueByID for get input value by id

func (*HTMLDoc) GetInputValueByName

func (doc *HTMLDoc) GetInputValueByName(name string) string

GetInputValueByName for get input value by name

Jump to

Keyboard shortcuts

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