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

Method get_platform_label

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

Source from the content-addressed store, hash-verified

376 }
377
378 fn get_platform_label(&self) -> &str {
379 let os = self.get_os();
380 let arch = self.get_arch();
381 if WINDOWS.is(os) {
382 if ARM64.is(arch) {
383 "win-arm64"
384 } else if X32.is(arch) {
385 "win32"
386 } else {
387 "win64"
388 }
389 } else if MACOS.is(os) {
390 if ARM64.is(arch) { "mac-arm64" } else { "mac64" }
391 } else {
392 "linux64"
393 }
394 }
395
396 fn request_latest_browser_version_from_online(
397 &mut self,

Callers 4

is_in_cacheMethod · 0.45
create_driver_in_cacheFunction · 0.45

Calls 3

get_osMethod · 0.80
get_archMethod · 0.80
isMethod · 0.65

Tested by 1

create_driver_in_cacheFunction · 0.36