TODO(ekg): does this method work anymore in any browser? It is not part of the W3C standard.
(t *testing.T, c config)
| 711 | // TODO(ekg): does this method work anymore in any browser? It is not part of |
| 712 | // the W3C standard. |
| 713 | func testCapabilities(t *testing.T, c config) { |
| 714 | if c.browser == "firefox" { |
| 715 | t.Skip("This method is not supported by Geckodriver.") |
| 716 | } |
| 717 | t.Skip("This method crashes Chrome?") |
| 718 | wd := newRemote(t, c) |
| 719 | defer quitRemote(t, wd) |
| 720 | |
| 721 | caps, err := wd.Capabilities() |
| 722 | if err != nil { |
| 723 | t.Fatalf("wd.Capabilities() returned error: %v", err) |
| 724 | } |
| 725 | |
| 726 | if strings.ToLower(caps["browserName"].(string)) != c.browser { |
| 727 | t.Fatalf("bad browser name - %s (should be %s)", caps["browserName"], c.browser) |
| 728 | } |
| 729 | } |
| 730 | |
| 731 | func testSetAsyncScriptTimeout(t *testing.T, c config) { |
| 732 | wd := newRemote(t, c) |
nothing calls this directly
no test coverage detected
searching dependent graphs…