Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestLogger ¶ added in v1.9.0
func NewTestLogger() log.LoggerProvider
NewTestLogger creates a TestLogger as a log.LoggerProvider
func PrintCurrentTest ¶ added in v1.9.0
PrintCurrentTest prints the current test to os.Stdout
Types ¶
type HTMLDoc ¶
type HTMLDoc struct {
// contains filtered or unexported fields
}
HTMLDoc struct
func NewHTMLParser ¶
NewHTMLParser parse html file
func (*HTMLDoc) AssertElement ¶ added in v1.3.0
AssertElement check if element by selector exists or does not exist depending on checkExists
func (*HTMLDoc) GetInputValueByID ¶
GetInputValueByID for get input value by id
func (*HTMLDoc) GetInputValueByName ¶
GetInputValueByName for get input value by name
type TestLogger ¶ added in v1.9.0
type TestLogger struct {
log.WriterLogger
}
TestLogger is a logger which will write to the testing log
func (*TestLogger) Flush ¶ added in v1.9.0
func (log *TestLogger) Flush()
Flush when log should be flushed
func (*TestLogger) GetName ¶ added in v1.9.0
func (log *TestLogger) GetName() string
GetName returns the default name for this implementation
func (*TestLogger) Init ¶ added in v1.9.0
func (log *TestLogger) Init(config string) error
Init inits connection writer with json config. json config only need key "level".
Click to show internal directories.
Click to hide internal directories.