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

Method get_platform_label

rust/src/edge.rs:337–353  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

335 }
336
337 fn get_platform_label(&self) -> &str {
338 let os = self.get_os();
339 let arch = self.get_arch();
340 if WINDOWS.is(os) {
341 if ARM64.is(arch) {
342 "win-arm64"
343 } else if X32.is(arch) {
344 "win32"
345 } else {
346 "win64"
347 }
348 } else if MACOS.is(os) {
349 if ARM64.is(arch) { "mac-arm64" } else { "mac64" }
350 } else {
351 "linux64"
352 }
353 }
354
355 fn request_latest_browser_version_from_online(
356 &mut self,

Callers 3

is_in_cacheMethod · 0.45

Calls 3

get_osMethod · 0.80
get_archMethod · 0.80
isMethod · 0.65

Tested by

no test coverage detected