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

Method is_snap

rust/src/firefox.rs:653–656  ·  view source on GitHub ↗
(&self, browser_path: &str)

Source from the content-addressed store, hash-verified

651 }
652
653 fn is_snap(&self, browser_path: &str) -> bool {
654 LINUX.is(self.get_os())
655 && (browser_path.eq(FIREFOX_SNAP_LINK) || browser_path.eq(FIREFOX_SNAP_BINARY))
656 }
657
658 fn get_snap_path(&self) -> Option<PathBuf> {
659 Some(Path::new(FIREFOX_SNAP_BINARY).to_path_buf())

Callers

nothing calls this directly

Calls 2

get_osMethod · 0.80
isMethod · 0.65

Tested by

no test coverage detected