Giter Site home page Giter Site logo

Comments (4)

derschatta avatar derschatta commented on May 24, 2024

hm good catch. We would need to try this together I think. The alternative is to provide additional container definitions for arm in the compose files.

from totara-docker-dev.

benfes avatar benfes commented on May 24, 2024

Just to add to this, I've found that seleniarm/standalone-chromium:4.3.0-20220624 - didn't work for me, however version seleniarm/standalone-chromium:106.0 did work - but config.php needs to be updated with the following settings:

// ...
if ($DOCKER_DEV->major_version >= 10) {
    // Behat config for Totara 10+
    $CFG->behat_profiles['default'] = array(
        'browser' => 'chrome',
        'wd_host' => "http://$DOCKER_DEV->behat_host:4444/wd/hub",
        'capabilities' => array(
            'browserName' => 'chrome',
            'browserVersion' => '106.0',
            'platform' => 'Linux',
            // 'version' => 50,
            // 'browser' => 'chrome',
            'extra_capabilities' => array(
 //...

Specifically browserName, browserVersion, platform

There are issues with some of the later chromium versions - so stick this this one (106) for now.

from totara-docker-dev.

benfes avatar benfes commented on May 24, 2024

You'll also want to update the extra_capabilities to ensure chrome is matched for following session requests:

// ...
'extra_capabilities' => array(
        'alwaysMatch' => array(
                'browserName' => 'chrome',
        ),
// ...

from totara-docker-dev.

derschatta avatar derschatta commented on May 24, 2024

You'll also want to update the extra_capabilities to ensure chrome is matched for following session requests:

// ...
'extra_capabilities' => array(
        'alwaysMatch' => array(
                'browserName' => 'chrome',
        ),
// ...

If the capabilities 'browserName', 'browserVersion' and 'platform' is set correctly I don't think this is necessary. At least in my tests I did not need it.

from totara-docker-dev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.