MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / is

Method is

java/test/org/openqa/selenium/remote/BrowserTest.java:34–40  ·  view source on GitHub ↗
(Browser browser, String name)

Source from the content-addressed store, hash-verified

32 }
33
34 @ParameterizedTest
35 @MethodSource("webBrowsers")
36 void is(Browser browser, String name) {
37 assertThat(browser.browserName()).isEqualTo(name);
38 assertThat(browser.is(name)).isTrue();
39 assertThat(browser.is("Netscape Navigator")).isFalse();
40 }
41
42 private static Stream<Arguments> webBrowsers() {
43 return Stream.of(

Callers

nothing calls this directly

Calls 2

browserNameMethod · 0.65
isMethod · 0.65

Tested by

no test coverage detected