Skip to content

[πŸ› Bug]: M4 MacOS Cpu architecture not recognised (EBADARCH error in log)Β #15053

@geoffswift

Description

@geoffswift

What happened?

Tried to use selenium-webdriver in a Ruby Capybara test on Mac OS with a relatively new M4/Apple Silicon processor, and the CPU is not recognised when it looks to download chromedriver.

How can we reproduce the issue?

You'll need an M4 Mac and try to use chromedriver

Relevant log output

# --- Caused by: ---
# Errno::EBADARCH:
#   Bad CPU type in executable - /Users/alenthall/.rvm/gems/ruby-3.1.4/gems/selenium-webdriver-4.11.0/bin/macos/selenium-manager
#   /Users/alenthall/.rvm/gems/ruby-3.1.4/gems/selenium-webdriver-4.11.0/lib/selenium/webdriver/common/selenium_manager.rb:110:in `run'


### Operating System

MacOS

### Selenium version

Ruby 3.1.4

### What are the browser(s) and version(s) where you see this issue?

Chrome

### What are the browser driver(s) and version(s) where you see this issue?

ChromeDriver

### Are you using Selenium Grid?

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions