# webtop_chrome **Repository Path**: jingangshi683/webtop_chrome ## Basic Information - **Project Name**: webtop_chrome - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2026-01-07 - **Last Updated**: 2026-01-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webtop_chrome #### 软件架构 软件架构说明 #### 启动教程 > 假设你的服务器ip是 192.168.125.131 1. 把项目git clone 到你的服务器,并且 cd webtop_chrome ,进入目录 2. 在你的服务器上运行 sudo docker compose up -d #### 客户端电脑 在客户端运行下面代码可以访问控制服务器上的docker内的谷歌浏览器 ``` #!/usr/bin/env python # -*- coding:utf-8 -*- #-导入库 from DrissionPage import Chromium, ChromiumOptions # 创建浏览器对象 browser = Chromium('192.168.125.131:9222') tab = browser.latest_tab #访问网页.. tab.get("https://www.baidu.com/") print(tab.title) ``` > 访问 https://192.168.125.131:3001/ 可直接进入服务器上的docker容器内的linux系统