MCPcopy Index your code
hub / github.com/tebeka/selenium / testGet

Function testGet

remote_test.go:893–909  ·  view source on GitHub ↗
(t *testing.T, c config)

Source from the content-addressed store, hash-verified

891}
892
893func testGet(t *testing.T, c config) {
894 wd := newRemote(t, c)
895 defer quitRemote(t, wd)
896
897 if err := wd.Get(serverURL); err != nil {
898 t.Fatal(err)
899 }
900
901 newURL, err := wd.CurrentURL()
902 if err != nil {
903 t.Fatal(err)
904 }
905
906 if newURL != serverURL+"/" {
907 t.Fatalf("%s != %s", newURL, serverURL)
908 }
909}
910
911func testNavigation(t *testing.T, c config) {
912 wd := newRemote(t, c)

Callers

nothing calls this directly

Calls 4

newRemoteFunction · 0.85
quitRemoteFunction · 0.85
GetMethod · 0.65
CurrentURLMethod · 0.65

Tested by

no test coverage detected