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

Method get_platform_label

rust/src/chrome.rs:476–490  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

474 }
475
476 fn get_platform_label(&self) -> &str {
477 let os = self.get_os();
478 let arch = self.get_arch();
479 if WINDOWS.is(os) {
480 if X32.is(arch) { "win32" } else { "win64" }
481 } else if MACOS.is(os) {
482 if ARM64.is(arch) {
483 "mac-arm64"
484 } else {
485 "mac-x64"
486 }
487 } else {
488 "linux64"
489 }
490 }
491
492 fn request_latest_browser_version_from_online(
493 &mut self,

Calls 3

get_osMethod · 0.80
get_archMethod · 0.80
isMethod · 0.65

Tested by

no test coverage detected