Skip to content

Problem while running on Mac with an M4 chip #73

@logip-rvk

Description

@logip-rvk

Preliminary checklist

  • I am using the latest stable version of DDEV
  • I am using the latest stable version of this add-on

Expected Behavior

A session gets created

Actual Behavior

Error 500

Steps To Reproduce

I'm using a MacBook Pro m4

Os 15.3.1
ddev version v1.24.7
And version 2.0 of this add-on

While running this test: :/var/www/html/web/core$ yarn test:nightwatch tests/Drupal/Nightwatch/Tests/langcodeTest.js

I keep getting this error:

[Tests/Langcode Test] Test Suite
────────────────────────────────────────────────────────────────
⠋ Connecting to selenium-chrome on port 4444...
  Error
     Response 500 POST http://selenium-chrome:4444/wd/hub/session (49ms)
   {
     value: {
       error: 'session not created',
       message: 'Could not start a new session. Error while creating session with the driver service. Stopping driver service: Could not start a new session. Handshake response does not match any supported protocol. Response payload: {"sessionId":"e550e4f286f365c8cc20dacc82f5e002","status":33,"value":{"message":"session not created: Missing or invalid capabilities\\n  (Driver info: chromedriver=138.0.7204.183 (e90faf484ddbc033fc9bf337621761d3dd5c5289-refs/branch-heads/7204@{#2435}),platform=Linux 6.10.14-linuxkit aarch64)"}} \n' +
         "Host info: host: '4cd9f41baa94', ip: '172.19.0.3'\n" +
         "Build info: version: '4.34.0', revision: '2a4c61c498'\n" +
         "System info: os.name: 'Linux', os.arch: 'aarch64', os.version: '6.10.14-linuxkit', java.version: '21.0.8'\n" +
         'Driver info: driver.version: unknown\n' +
         "Build info: version: '4.34.0', revision: '2a4c61c498'\n" +
         "System info: os.name: 'Linux', os.arch: 'aarch64', os.version: '6.10.14-linuxkit', java.version: '21.0.8'\n" +
         'Driver info: driver.version: unknown',
       stacktrace: ''
     }
⚠ Failed to connect to Selenium Server on selenium-chrome with port 4444.

Does anybody have a clue how I can get this to run?

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions