|
|
|
@ -61,7 +61,7 @@ func (z *ZedBrowser) TypeIn(id string, text string) { |
|
|
|
|
|
|
|
|
|
func Setup(t *testing.T, timeout time.Duration) (*ZedBrowser, context.CancelFunc) { |
|
|
|
|
opts := append(browser.DefaultExecAllocatorOptions[:], |
|
|
|
|
browser.Flag("headless", runtime.GOOS == "windows"),) |
|
|
|
|
browser.Flag("headless", runtime.GOOS == "windows"),) |
|
|
|
|
|
|
|
|
|
ctx, cancel := browser.NewExecAllocator(context.Background(), opts...) |
|
|
|
|
|
|
|
|
|