MCPcopy
hub / github.com/go-rod/rod / MustNavigate

Method MustNavigate

must.go:231–234  ·  view source on GitHub ↗

MustNavigate is similar to [Page.Navigate].

(url string)

Source from the content-addressed store, hash-verified

229
230// MustNavigate is similar to [Page.Navigate].
231func (p *Page) MustNavigate(url string) *Page {
232 p.e(p.Navigate(url))
233 return p
234}
235
236// MustResetNavigationHistory is similar to [Page.ResetNavigationHistory].
237func (p *Page) MustResetNavigationHistory() *Page {

Callers 15

TestIncognitoFunction · 0.80
TestBrowserWaitEventFunction · 0.80
TestBlockingNavigationFunction · 0.80
TestResolveBlockingFunction · 0.80
TestWaitDownloadFunction · 0.80
TestWaitDownloadDataURIFunction · 0.80
TestKeyActionsFunction · 0.80
TestKeyTypeFunction · 0.80
TestKeyTypeErrFunction · 0.80
TestInputFunction · 0.80
TestMouseFunction · 0.80

Calls 1

NavigateMethod · 0.95

Tested by 15

TestIncognitoFunction · 0.64
TestBrowserWaitEventFunction · 0.64
TestBlockingNavigationFunction · 0.64
TestResolveBlockingFunction · 0.64
TestWaitDownloadFunction · 0.64
TestWaitDownloadDataURIFunction · 0.64
TestKeyActionsFunction · 0.64
TestKeyTypeFunction · 0.64
TestKeyTypeErrFunction · 0.64
TestInputFunction · 0.64
TestMouseFunction · 0.64