We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc26bd commit feb2c22Copy full SHA for feb2c22
seleniumbase/fixtures/shared_utils.py
@@ -29,8 +29,20 @@ def pip_install(package, version=None):
29
)
30
31
32
+def is_arm_linux():
33
+ """Returns True if machine is ARM Linux.
34
+ This will be useful once Google adds
35
+ support for ARM Linux ChromeDriver.
36
+ (Raspberry Pi uses ARM architecture.)"""
37
+ return (
38
+ platform.system() == "Linux"
39
+ and platform.machine() == "aarch64"
40
+ )
41
+
42
43
def is_arm_mac():
- """(M1 / M2 Macs use the ARM processor)"""
44
+ """Returns True if machine is ARM Mac.
45
+ (Eg. M1 / M2 Macs use ARM processors)"""
46
return (
47
"darwin" in sys.platform
48
and (
0 commit comments