From 7628db4010d9537130c25c4341de2ca77e7c0bab Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 23 Aug 2024 20:44:39 +0800 Subject: [PATCH] Bump Selenium to version 4 --- bin/moodle-docker-compose | 13 +------------ bin/moodle-docker-compose.cmd | 13 ++----------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/bin/moodle-docker-compose b/bin/moodle-docker-compose index 473b06cd6ff..62aecddcccf 100755 --- a/bin/moodle-docker-compose +++ b/bin/moodle-docker-compose @@ -136,18 +136,7 @@ fi if [[ -z "$MOODLE_DOCKER_BROWSER_TAG" ]]; then - if [[ "$MOODLE_DOCKER_BROWSER_NAME" = "firefox" ]]; - then - MOODLE_DOCKER_BROWSER_TAG=3 - elif [[ "$MOODLE_DOCKER_BROWSER_NAME" = "chrome" ]]; - then - if [[ "$MOODLE_DOCKER_APP_RUNTIME" = "ionic5" ]]; - then - MOODLE_DOCKER_BROWSER_TAG=3 - else - MOODLE_DOCKER_BROWSER_TAG="120.0" - fi - fi + MOODLE_DOCKER_BROWSER_TAG=4 fi # Mobile app for development diff --git a/bin/moodle-docker-compose.cmd b/bin/moodle-docker-compose.cmd index a51c49756ea..c53a01ce230 100644 --- a/bin/moodle-docker-compose.cmd +++ b/bin/moodle-docker-compose.cmd @@ -100,20 +100,11 @@ IF NOT "%MOODLE_DOCKER_BROWSER%"=="" ( ) IF "%MOODLE_DOCKER_BROWSER_NAME%"=="" ( - SET MOODLE_DOCKER_BROWSER_NAME=firefox + SET MOODLE_DOCKER_BROWSER_NAME=firefox ) IF "%MOODLE_DOCKER_BROWSER_TAG%"=="" ( - IF "%MOODLE_DOCKER_BROWSER_NAME%"=="firefox" ( - SET MOODLE_DOCKER_BROWSER_TAG=3 - ) - IF "%MOODLE_DOCKER_BROWSER_NAME%"=="chrome" ( - IF "%MOODLE_DOCKER_APP_RUNTIME%"=="ionic5" ( - SET MOODLE_DOCKER_BROWSER_TAG=3 - ) ELSE ( - SET MOODLE_DOCKER_BROWSER_TAG=120.0 - ) - ) + SET MOODLE_DOCKER_BROWSER_TAG=4 ) IF "%MOODLE_DOCKER_BROWSER_NAME%"=="chrome" (