Skip to content

Commit 820a527

Browse files
committed
v5.0-A 多平台控制器架构(BaseController+WebController+AndroidController+MobileConfig)
1 parent 6228309 commit 820a527

5 files changed

Lines changed: 753 additions & 0 deletions

File tree

src/controller/__init__.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
"""
2+
平台控制器模块(v5.0)
3+
4+
统一的多平台控制器抽象层:
5+
- BaseController: 抽象基类
6+
- WebController: Web浏览器(Playwright)
7+
- AndroidController: Android设备(Appium)— 计划中
8+
- Platform/DeviceInfo: 数据模型
9+
"""
10+
11+
from src.controller.base import BaseController, DeviceInfo, ElementInfo, Platform
12+
from src.controller.web import WebController
13+
from src.controller.android import AndroidController
14+
15+
__all__ = [
16+
"BaseController",
17+
"WebController",
18+
"AndroidController",
19+
"DeviceInfo",
20+
"ElementInfo",
21+
"Platform",
22+
]

0 commit comments

Comments
 (0)