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

Method get_platform_label

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

Source from the content-addressed store, hash-verified

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