driver-binary-downloader-maven-plugin icon indicating copy to clipboard operation
driver-binary-downloader-maven-plugin copied to clipboard

System architecture is not set to ARM on M1 mac

Open MichaelRijsdijk opened this issue 3 years ago • 1 comments

System architecture is not set to ARM on M1 mac. Logging shows "aarch64" as architecture, but this is not a valid match for arm:

private static List<String> architectureArmNames = Arrays.asList("arm", "armv41");

When forcing arm binaries "-DarmBinaries=true" it does download the correct binary, but the rest of the code still thinks it is a standard 64bit architecture.

MichaelRijsdijk avatar Jan 21 '22 21:01 MichaelRijsdijk

I created a PR https://github.com/Ardesco/driver-binary-downloader-maven-plugin/pull/114

PR doesn't seem to fix it, it recognises the aarch64 as systemarchitecture, but it can't create the correct drivercontext:

[WARNING] No driver contexts detected for the current operating system, no maven properties set!

[22:27:30,628 INFO][TID 20][c.l.s.c.DriverFactory.instantiateWebDriver] Local Operating System: MAC OS X [22:27:30,631 INFO][TID 20][c.l.s.c.DriverFactory.instantiateWebDriver] Local Architecture: aarch64 [22:27:30,631 INFO][TID 20][c.l.s.c.DriverFactory.instantiateWebDriver] Selected Browser: chrome

MichaelRijsdijk avatar Jan 21 '22 21:01 MichaelRijsdijk