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

Method is_firefox

rust/src/lib.rs:765–767  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

763 }
764
765 fn is_firefox(&self) -> bool {
766 self.get_browser_name().contains(FIREFOX_NAME)
767 }
768
769 fn is_edge(&self) -> bool {
770 self.get_browser_name().eq(EDGE_NAMES[0])

Callers 3

setupMethod · 0.80
is_browserMethod · 0.80
is_in_cacheMethod · 0.80

Implementers 8

edge.rsrust/src/edge.rs
iexplorer.rsrust/src/iexplorer.rs
safaritp.rsrust/src/safaritp.rs
electron.rsrust/src/electron.rs
chrome.rsrust/src/chrome.rs
firefox.rsrust/src/firefox.rs
grid.rsrust/src/grid.rs
safari.rsrust/src/safari.rs

Calls 1

get_browser_nameMethod · 0.45

Tested by

no test coverage detected