Skip to content

Commit 68b18d6

Browse files
Update selenium libraries
And use appropriate selenium docker image based on arch
1 parent baf253a commit 68b18d6

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

deps/rabbitmq_management/selenium/bin/components/selenium

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env bash
22

3-
SELENIUM_DOCKER_IMAGE=selenium/standalone-chrome:103.0
3+
arch=$(uname -i)
4+
if [[ $arch == arm* ]]; then
5+
SELENIUM_DOCKER_IMAGE=selenium/standalone-chrome:123.0
6+
else
7+
SELENIUM_DOCKER_IMAGE=seleniarm/standalone-chromium:123.0
8+
fi
49

510
start_selenium() {
611
begin "Starting selenium ..."

deps/rabbitmq_management/selenium/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@
1414
"author": "",
1515
"license": "ISC",
1616
"dependencies": {
17-
"chromedriver": "^121.0.0",
17+
"chromedriver": "^123.0.0",
1818
"ejs": "^3.1.8",
1919
"express": "^4.18.2",
2020
"geckodriver": "^3.0.2",
2121
"http-proxy": "^1.18.1",
2222
"mqtt": "^5.3.3",
2323
"path": "^0.12.7",
2424
"proxy": "^1.0.2",
25-
"selenium-webdriver": "^4.15.0",
25+
"selenium-webdriver": "^4.19.0",
2626
"xmlhttprequest": "^1.8.0"
2727
},
2828
"devDependencies": {
2929
"chai": "^4.3.6",
30-
"mocha": "^10.0.0",
30+
"mocha": "^10.4.0",
3131
"request": "^2.88.2",
3232
"standard": "^17.0.0"
3333
}

0 commit comments

Comments
 (0)