refactor: 优化 CoreDriver 实现并增强代码可读性
- 优化 部分核心功能实现。 - 新增 详细的文档字符串(Docstrings)和注释。 - 移除 代码中的冗余注释和无效代码。
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
|
||||
from enum import Enum
|
||||
|
||||
class AppPlatform(Enum):
|
||||
ANDROID = "android"
|
||||
IOS = "ios"
|
||||
|
||||
|
||||
class Locator(str, Enum):
|
||||
# --- 原有 Selenium 支持 ---
|
||||
ID = "id"
|
||||
|
||||
Reference in New Issue
Block a user