storj/testsuite/ui/multinode/common.go
Clement Sam 29599dd7cd testsuite/ui/multinode: add first node test
Change-Id: Ibeaee92e6d1a41e408659a5045f52e1908f73089
2021-10-18 16:07:01 +00:00

16 lines
321 B
Go

// Copyright (C) 2021 Storj Labs, Inc.
// See LICENSE for copying information.
package multinode
import (
"github.com/go-rod/rod"
)
func openPage(browser *rod.Browser, url string) *rod.Page {
page := browser.MustPage()
page.MustSetViewport(1350, 600, 1, false)
page.MustNavigate(url).MustWaitLoad()
return page
}