Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestCases = []TestCase{ { Name: "Headless Browser Without Incognito", Target: "https://www.hackerone.com/", Expected: nil, Args: "-headless -no-incognito -depth 2 -silent", CompareFunc: func(target string, got []string) error { for _, res := range got { if strings.Contains(res, target) { return nil } } return errorutils.New("expected %v target in output, but got %v ", target, strings.Join(got, "\n")) }, }, }
Functions ¶
func CompareOutput ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.