轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页
个人中心
拉取日志
交易
充值流量¥8起
我的订单
文档
工具
提交工单
页面收录
node-chrome

selenium/node-chrome

selenium
自动构建

Selenium Grid节点模式(搭配Chrome浏览器)是一种分布式自动化测试组件,作为硒网格架构中的工作节点,可接收中心集线器(Hub)分配的测试任务,在本地Chrome浏览器环境中执行Web应用自动化测试,支持多版本Chrome浏览器配置与并行测试任务处理,能有效提升大规模测试场景下的执行效率与资源利用率,适用于跨环境、多任务的Web应用自动化测试流程。

271 次收藏下载次数: 0状态:自动构建维护者:selenium仓库类型:镜像最近更新:13 小时前
DockerHub 官方简介
轩辕镜像中文简介
下载命令
镜像标签列表与下载命令
轩辕镜像,让镜像更快,让人生更轻。
点击查看

Selenium Grid Node with Chrome

This image provides a https://www.selenium.dev/documentation/grid/getting_started/#hub-and-node with Chrome, meant to be used together with a https://www.selenium.dev/documentation/grid/getting_started/#hub-and-node, which enables you to run https://www.selenium.dev/documentation/webdriver/drivers/remote_webdriver/.

How to run this image

The Hub and Nodes will be created in the same network and they will recognize each other by their container name. A Docker https://docs.docker.com/engine/reference/commandline/network_create/ needs to be created as a first step.

  1. Create a Docker Network
bash
docker network create grid
  1. Start the Hub using the created network
bash
docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:latest
  1. Start the Node using the created network
bash
docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \
    --shm-size="2g" \
    selenium/node-chrome:latest

If you are using Windows Powershell, use this command:

powershell
docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub `
    --shm-size="2g" `
    selenium/node-chrome:latest
  1. Point your WebDriver tests to http://localhost:4444

  2. That's it!

  3. (Optional) To see what is happening inside the container, head to http://localhost:7900/?autoconnect=1&resize=scale&password=secret.

  • When executing docker run for an image that contains a browser please use the flag --shm-size=2g to use the host's shared memory.

  • The example above uses latest as a tag, but we recommend to full tag to pin a specific browser and Grid version. Please see https://github.com/SeleniumHQ/docker-selenium/wiki/Tagging-Convention for details.

  • A more detailed explanation that shows how to run the Nodes in different configurations can be seen at the https://github.com/SeleniumHQ/docker-selenium/blob/trunk/README.md#hub-and-nodes

  • When you are done using the Grid, and the containers have exited, the network can be removed with the following command:

bash
docker network rm grid

How to choose the correct tag for you

The tag structure is as follows:

selenium/node-chrome-<Major>.<Minor>.<Patch>-<YYYYMMDD>

Also with browser version and browser driver version

selenium/node-chrome-<browserVersion>-<browserDriver>-<browserDriverVersion>-<Major>.<Minor>.<Patch>-<YYYYMMDD>

Plus all the permutations from the above one

Example of a release with Chrome 155, ChromeDriver 155.0 and Selenium Grid Server 4.51.0, released on 20261010

    Chrome 155.0
    ChromeDriver 155.0
    Selenium Server 4.51.0
    Release date 20261010


e126989f151e        selenium/node-chrome   4
e126989f151e        selenium/node-chrome   4.51
e126989f151e        selenium/node-chrome   4.51.0
e126989f151e        selenium/node-chrome   4.51.0-20261010
e126989f151e        selenium/node-chrome   155.0
e126989f151e        selenium/node-chrome   155.0-20261010
e126989f151e        selenium/node-chrome   155.0-chromedriver-155.0
e126989f151e        selenium/node-chrome   155.0-chromedriver-155.0-20261010
e126989f151e        selenium/node-chrome   155.0-chromedriver-155.0-grid-4.51.0-20261010

With that, you can use any of the different tags to get the most recent release in a simplified way.

Full documentation

The Docker-Selenium project in GitHub has an extensive https://github.com/SeleniumHQ/docker-selenium that will help you find the correct way to get this images up and running for your use case.

License

The project is made possible by volunteer contributors who have put in thousands of hours of their own time, and made the source code freely available under the https://raw.githubusercontent.com/SeleniumHQ/selenium/trunk/LICENSE.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 node-chrome 镜像标签

docker pull docker.xuanyuan.run/selenium/node-chrome:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull selenium/node-chrome:<标签>

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

查看流量套餐与价格
用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

镜像详情/selenium/node-chrome
充值充值流量套餐
专业版 · 高速稳定拉取镜像
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
50GB 仅 ¥8/年
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
用户协议·隐私政策·增值电信业务经营许可证:浙B2-20261007·©2024-2026 源码跳动©2024-2026 杭州源码跳动科技有限公司·商务合作:点击复制邮箱

更多 node-chrome 镜像推荐

node-chrome logo

timbru31/node-chrome

timbru31
🐳 包含 Node.js 20 LTS、Node.js 22 LTS 或 Node.js 24 与 Chromium 稳定版的 Docker 镜像
10 次收藏100万+ 次下载
6 天前更新
node-chrome logo

sofdesk/node-chrome

sofdesk
暂无描述
100万+ 次下载
2 年前更新
node-chrome logo

markhobson/node-chrome

markhobson
用于Node.js自动化UI测试的Docker镜像。
8 次收藏50万+ 次下载
2 年前更新
node-chrome logo

timotto/node-chrome

timotto
暂无描述
50万+ 次下载
16 天前更新
node-chrome logo

colthreepv/node-chrome

colthreepv
自动构建的Docker镜像,集成Node.js和Chrome浏览器,随Node标签更新自动更新,适用于在Gitlab等CI环境中运行Karma或Protractor前端测试。
3 次收藏32.1万 次下载
6 年前更新
node-chrome logo

amio/node-chrome

amio
包含Node.js 12、npm和Google Chrome 76的Docker镜像,适用于需要Node.js环境与Chrome浏览器结合的应用场景。
5 次收藏10万+ 次下载
7 年前更新

查看更多 node-chrome 相关镜像

更多相关 Docker 镜像与资源

以下是 selenium/node-chrome 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:

  • selenium/standalone-chrome Docker 镜像说明(Selenium Standalone Chrome,浏览器自动化测试环境)
  • linuxserver/chrome Docker 镜像说明(Chrome 浏览器,LinuxServer 容器化版本)
  • browserless/chrome Docker 镜像说明(Browserless Chrome 无头浏览器,适合网页截图、爬虫与自动化测试)
  • playwright/chrome Docker 镜像说明(Playwright Chrome 浏览器,适合 E2E 自动化测试与爬虫)
  • mcp/playwright Docker 镜像说明(Playwright 浏览器自动化测试框架,支持多浏览器)