We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 223d322 commit 9851700Copy full SHA for 9851700
1 file changed
Framework/Built_In_Automation/Web/Selenium/BuiltInFunctions.py
@@ -466,6 +466,14 @@ def Open_Electron_App(data_set):
466
opts.binary_location = desktop_app_path
467
opts.add_argument("--remote-debugging-port=9222")
468
# service = Service(executable_path=electron_chrome_path)
469
+ arch = platform.machine().lower()
470
+ if platform.system() == "Darwin" and arch == "arm64":
471
+ os.environ['WDM_ARCHITECTURE'] = 'arm64'
472
+ elif platform.system() == "Windows" and arch not in ("amd64", "x86_64"):
473
+ os.environ['WDM_ARCHITECTURE'] = 'x32'
474
+ else:
475
+ os.environ['WDM_ARCHITECTURE'] = 'x64'
476
+
477
driver_bin_path = ChromeDriverManager(driver_version=chrome_version).install()
478
479
service = Service(driver_bin_path)
0 commit comments