From 0592a514deb4f0e5957b1ae0692699ab61826ab9 Mon Sep 17 00:00:00 2001 From: Python51888 Date: Thu, 4 Sep 2025 23:25:25 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E4=B8=AD?= =?UTF-8?q?=E8=8B=B1=E6=96=87readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++ README.md | 132 ++++++++++++++++++++++++++------------------------- README.zh.md | 127 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 198 insertions(+), 64 deletions(-) create mode 100644 README.zh.md diff --git a/.gitignore b/.gitignore index 2b9c225..88f7851 100644 --- a/.gitignore +++ b/.gitignore @@ -157,3 +157,6 @@ bin-release/ # should NOT be excluded as they contain compiler settings and other important # information for Eclipse / Flash Builder. >>>>>>> 2a066347ae84a69f9986cffe451aeae1a5364b10 + +# YoYo AI version control directory +.yoyo/ diff --git a/README.md b/README.md index 4621aa4..3bb6ff3 100644 --- a/README.md +++ b/README.md @@ -1,123 +1,127 @@ # Midscene Python -Midscene Python 是一个基于 AI 的自动化框架,支持 Web 和 Android 平台的 UI 自动化操作。 +Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms. -## 概述 +## Overview -Midscene Python 提供全面的 UI 自动化能力,具有以下核心特性: +Midscene Python provides comprehensive UI automation capabilities with the following core features: -- **自然语言驱动**:使用自然语言描述自动化任务 -- **多平台支持**:支持 Web(Selenium/Playwright)和 Android(ADB) -- **AI 模型集成**:支持 GPT-4V、Qwen2.5-VL、Gemini 等多种视觉语言模型 -- **可视化调试**:提供详细的执行报告和调试信息 -- **缓存机制**:智能缓存提升执行效率 +- **Natural Language Driven**: Describe automation tasks using natural language +- **Multi-platform Support**: Supports Web (Selenium/Playwright) and Android (ADB) +- **AI Model Integration**: Supports multiple vision-language models such as GPT-4V, Qwen2.5-VL, and Gemini +- **Visual Debugging**: Provides detailed execution reports and debugging information +- **Caching Mechanism**: Intelligent caching to improve execution efficiency -## 项目架构 +## Project Architecture ``` midscene-python/ -├── midscene/ # 核心框架 -│ ├── core/ # 核心框架 -│ │ ├── agent/ # Agent系统 -│ │ ├── insight/ # AI推理引擎 -│ │ ├── ai_model/ # AI模型集成 -│ │ ├── yaml/ # YAML脚本执行器 -│ │ └── types.py # 核心类型定义 -│ ├── web/ # Web集成 -│ │ ├── selenium/ # Selenium集成 -│ │ ├── playwright/ # Playwright集成 -│ │ └── bridge/ # Bridge模式 -│ ├── android/ # Android集成 -│ │ ├── device.py # 设备管理 +├── midscene/ # Core framework +│ ├── core/ # Core framework +│ │ ├── agent/ # Agent system +│ │ ├── insight/ # AI inference engine +│ │ ├── ai_model/ # AI model integration +│ │ ├── yaml/ # YAML script executor +│ │ └── types.py # Core type definitions +│ ├── web/ # Web integration +│ │ ├── selenium/ # Selenium integration +│ │ ├── playwright/ # Playwright integration +│ │ └── bridge/ # Bridge mode +│ ├── android/ # Android integration +│ │ ├── device.py # Device management │ │ └── agent.py # Android Agent -│ ├── cli/ # 命令行工具 -│ ├── mcp/ # MCP协议支持 -│ ├── shared/ # 共享工具 -│ └── visualizer/ # 可视化报告 -├── examples/ # 示例代码 -├── tests/ # 测试用例 -└── docs/ # 文档 +│ ├── cli/ # Command line tools +│ ├── mcp/ # MCP protocol support +│ ├── shared/ # Shared utilities +│ └── visualizer/ # Visual reports +├── examples/ # Example code +├── tests/ # Test cases +└── docs/ # Documentation ``` -## 技术栈 +## Tech Stack -- **Python 3.9+**:核心运行环境 -- **Pydantic**:数据验证和序列化 -- **Selenium/Playwright**:Web 自动化 -- **OpenCV/Pillow**:图像处理 -- **HTTPX/AIOHTTP**:HTTP 客户端 -- **Typer**:CLI 框架 -- **Loguru**:日志记录 +- **Python 3.9+**: Core runtime environment +- **Pydantic**: Data validation and serialization +- **Selenium/Playwright**: Web automation +- **OpenCV/Pillow**: Image processing +- **HTTPX/AIOHTTP**: HTTP client +- **Typer**: CLI framework +- **Loguru**: Logging -## 快速开始 +## Quick Start -### 安装 +### Installation ```bash pip install midscene-python ``` -### 基础用法 +### Basic Usage ```python from midscene import Agent from midscene.web import SeleniumWebPage -# 创建 Web Agent +# Create a Web Agent with SeleniumWebPage.create() as page: agent = Agent(page) - # 使用自然语言进行自动化操作 - await agent.ai_action("点击登录按钮") - await agent.ai_action("输入用户名 'test@example.com'") - await agent.ai_action("输入密码 'password123'") - await agent.ai_action("点击提交按钮") + # Perform automation operations using natural language + await agent.ai_action("Click the login button") + await agent.ai_action("Enter username 'test@example.com'") + await agent.ai_action("Enter password 'password123'") + await agent.ai_action("Click the submit button") - # 数据提取 - user_info = await agent.ai_extract("提取用户个人信息") + # Data extraction + user_info = await agent.ai_extract("Extract user personal information") - # 断言验证 - await agent.ai_assert("页面显示欢迎信息") + # Assertion verification + await agent.ai_assert("Page displays welcome message") ``` -## 主要特性 +## Key Features -### 🤖 AI 驱动的自动化 +### 🤖 AI-Driven Automation -使用自然语言描述操作,AI 自动理解并执行: +Describe operations using natural language, and AI automatically understands and executes: ```python -await agent.ai_action("在搜索框中输入'Python教程'并搜索") +await agent.ai_action("Enter 'Python tutorial' in the search box and search") ``` -### 🔍 智能元素定位 +### 🔍 Intelligent Element Location -支持多种定位策略,自动选择最优方案: +Supports multiple location strategies and automatically selects the optimal solution: ```python -element = await agent.ai_locate("登录按钮") +element = await agent.ai_locate("Login button") ``` -### 📊 数据提取 +### 📊 Data Extraction -从页面提取结构化数据: +Extract structured data from the page: ```python products = await agent.ai_extract({ "products": [ - {"name": "产品名称", "price": "价格", "rating": "评分"} + {"name": "Product Name", "price": "Price", "rating": "Rating"} ] }) ``` -### ✅ 智能断言 +### ✅ Intelligent Assertions -AI 理解页面状态,进行智能断言: +AI understands page state and performs intelligent assertions: ```python -await agent.ai_assert("用户已成功登录") +await agent.ai_assert("User has successfully logged in") ``` -## 许可证 +### 📝 Credits + +Thanks to Midscene Project: https://github.com/web-infra-dev/midscene for inspiration and technical references + +## License MIT License \ No newline at end of file diff --git a/README.zh.md b/README.zh.md new file mode 100644 index 0000000..2f80d25 --- /dev/null +++ b/README.zh.md @@ -0,0 +1,127 @@ +# Midscene Python + +Midscene Python 是一个基于 AI 的自动化框架,支持 Web 和 Android 平台的 UI 自动化操作。 + +## 概述 + +Midscene Python 提供全面的 UI 自动化能力,具有以下核心特性: + +- **自然语言驱动**:使用自然语言描述自动化任务 +- **多平台支持**:支持 Web(Selenium/Playwright)和 Android(ADB) +- **AI 模型集成**:支持 GPT-4V、Qwen2.5-VL、Gemini 等多种视觉语言模型 +- **可视化调试**:提供详细的执行报告和调试信息 +- **缓存机制**:智能缓存提升执行效率 + +## 项目架构 + +``` +midscene-python/ +├── midscene/ # 核心框架 +│ ├── core/ # 核心框架 +│ │ ├── agent/ # Agent系统 +│ │ ├── insight/ # AI推理引擎 +│ │ ├── ai_model/ # AI模型集成 +│ │ ├── yaml/ # YAML脚本执行器 +│ │ └── types.py # 核心类型定义 +│ ├── web/ # Web集成 +│ │ ├── selenium/ # Selenium集成 +│ │ ├── playwright/ # Playwright集成 +│ │ └── bridge/ # Bridge模式 +│ ├── android/ # Android集成 +│ │ ├── device.py # 设备管理 +│ │ └── agent.py # Android Agent +│ ├── cli/ # 命令行工具 +│ ├── mcp/ # MCP协议支持 +│ ├── shared/ # 共享工具 +│ └── visualizer/ # 可视化报告 +├── examples/ # 示例代码 +├── tests/ # 测试用例 +└── docs/ # 文档 +``` + +## 技术栈 + +- **Python 3.9+**:核心运行环境 +- **Pydantic**:数据验证和序列化 +- **Selenium/Playwright**:Web 自动化 +- **OpenCV/Pillow**:图像处理 +- **HTTPX/AIOHTTP**:HTTP 客户端 +- **Typer**:CLI 框架 +- **Loguru**:日志记录 + +## 快速开始 + +### 安装 + +```bash +pip install midscene-python +``` + +### 基础用法 + +```python +from midscene import Agent +from midscene.web import SeleniumWebPage + +# 创建 Web Agent +with SeleniumWebPage.create() as page: + agent = Agent(page) + + # 使用自然语言进行自动化操作 + await agent.ai_action("点击登录按钮") + await agent.ai_action("输入用户名 'test@example.com'") + await agent.ai_action("输入密码 'password123'") + await agent.ai_action("点击提交按钮") + + # 数据提取 + user_info = await agent.ai_extract("提取用户个人信息") + + # 断言验证 + await agent.ai_assert("页面显示欢迎信息") +``` + +## 主要特性 + +### 🤖 AI 驱动的自动化 + +使用自然语言描述操作,AI 自动理解并执行: + +```python +await agent.ai_action("在搜索框中输入'Python教程'并搜索") +``` + +### 🔍 智能元素定位 + +支持多种定位策略,自动选择最优方案: + +```python +element = await agent.ai_locate("登录按钮") +``` + +### 📊 数据提取 + +从页面提取结构化数据: + +```python +products = await agent.ai_extract({ + "products": [ + {"name": "产品名称", "price": "价格", "rating": "评分"} + ] +}) +``` + +### ✅ 智能断言 + +AI 理解页面状态,进行智能断言: + +```python +await agent.ai_assert("用户已成功登录") +``` + +### 📝 致谢 + +感谢Midscene项目:https://github.com/web-infra-dev/midscene 提供的灵感和技术参考 + +## 许可证 + +MIT License \ No newline at end of file From 415bc4f3b84c226d5eff31d582dcb40bea4864f0 Mon Sep 17 00:00:00 2001 From: Python51888 Date: Thu, 4 Sep 2025 15:44:44 +0000 Subject: [PATCH 02/13] update README.zh.md. Signed-off-by: Python51888 --- README.zh.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.zh.md b/README.zh.md index 2f80d25..9d09fa4 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1,4 +1,5 @@ # Midscene Python +[English](README.md) | [中文](README.zh.md) Midscene Python 是一个基于 AI 的自动化框架,支持 Web 和 Android 平台的 UI 自动化操作。 From d6ece96ff0a7e7d684cdd7c13ab8f43ceb7fe80b Mon Sep 17 00:00:00 2001 From: Python51888 Date: Thu, 4 Sep 2025 15:45:07 +0000 Subject: [PATCH 03/13] update README.md. Signed-off-by: Python51888 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3bb6ff3..bdbdc3c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Midscene Python +[English](README.md) | [中文](README.zh.md) Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms. From dd47c426bb84f1bb3ddc9096dd272230600762d8 Mon Sep 17 00:00:00 2001 From: "A.Chao5858" <39320196+Python51888@users.noreply.github.com> Date: Mon, 8 Sep 2025 09:04:44 +0800 Subject: [PATCH 04/13] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bdbdc3c..8a9b725 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ +
# Midscene Python [English](README.md) | [中文](README.zh.md) Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms. - +
## Overview Midscene Python provides comprehensive UI automation capabilities with the following core features: @@ -125,4 +126,4 @@ Thanks to Midscene Project: https://github.com/web-infra-dev/midscene for inspir ## License -MIT License \ No newline at end of file +MIT License From e66a260054df957698d52df45220ed84d5f3f602 Mon Sep 17 00:00:00 2001 From: "A.Chao5858" <39320196+Python51888@users.noreply.github.com> Date: Mon, 8 Sep 2025 09:07:08 +0800 Subject: [PATCH 05/13] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a9b725..c7cfcc1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@
# Midscene Python [English](README.md) | [中文](README.zh.md) - -Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms.
+Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms. + ## Overview Midscene Python provides comprehensive UI automation capabilities with the following core features: From b7aa82534ffdaf85d22ccb10131ce0ea2a4ac4c9 Mon Sep 17 00:00:00 2001 From: "A.Chao5858" <39320196+Python51888@users.noreply.github.com> Date: Mon, 8 Sep 2025 09:09:19 +0800 Subject: [PATCH 06/13] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c7cfcc1..47b2933 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
-# Midscene Python +Midscene Python [English](README.md) | [中文](README.zh.md)
Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms. From a64b37a921e3670dd8a18081ee5f883e227a6525 Mon Sep 17 00:00:00 2001 From: "A.Chao5858" <39320196+Python51888@users.noreply.github.com> Date: Mon, 8 Sep 2025 09:10:12 +0800 Subject: [PATCH 07/13] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 47b2933..345649c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ -
-Midscene Python +# Midscene Python [English](README.md) | [中文](README.zh.md) -
+ Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms. ## Overview From 0d969edfdf97967365ad9c0890c45687fddde00f Mon Sep 17 00:00:00 2001 From: "A.Chao5858" <39320196+Python51888@users.noreply.github.com> Date: Thu, 11 Sep 2025 10:04:23 +0800 Subject: [PATCH 08/13] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 345649c..511fe4c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Midscene Python -[English](README.md) | [中文](README.zh.md) +[English](README.md) | [简体中文](README.zh.md) Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms. From 3b28350781f5006ddba5a2318888ffe7ddee8e40 Mon Sep 17 00:00:00 2001 From: "A.Chao5858" <39320196+Python51888@users.noreply.github.com> Date: Sat, 4 Oct 2025 20:15:40 +0800 Subject: [PATCH 09/13] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 511fe4c..dcce97f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Midscene Python -[English](README.md) | [简体中文](README.zh.md) +[English](README.md) | [简体中文](README.zh.md) [![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2C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NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/Python51888/Midscene-Python)  Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms. @@ -9,7 +9,7 @@ Midscene Python provides comprehensive UI automation capabilities with the follo - **Natural Language Driven**: Describe automation tasks using natural language - **Multi-platform Support**: Supports Web (Selenium/Playwright) and Android (ADB) -- **AI Model Integration**: Supports multiple vision-language models such as GPT-4V, Qwen2.5-VL, and Gemini +- **AI Model Integration**: Supports multiple vision-language models such as GPT-4V, Qwen2.5-VL, and Gemini  - **Visual Debugging**: Provides detailed execution reports and debugging information - **Caching Mechanism**: Intelligent caching to improve execution efficiency From eae12ad6cc9a5356186276fa6f3274435683d743 Mon Sep 17 00:00:00 2001 From: "A.Chao5858" <39320196+Python51888@users.noreply.github.com> Date: Sat, 4 Oct 2025 20:16:28 +0800 Subject: [PATCH 10/13] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dcce97f..e82421d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Midscene Python -[English](README.md) | [简体中文](README.zh.md) [![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sb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MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/Python51888/Midscene-Python)  +[English](README.md) | [简体中文](README.zh.md)  +[![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/Python51888/Midscene-Python) Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms. From 0405c9a82ef6f58cc4ebeb5412233044ea1db5b5 Mon Sep 17 00:00:00 2001 From: "A.Chao5858" <39320196+Python51888@users.noreply.github.com> Date: Sat, 4 Oct 2025 20:17:43 +0800 Subject: [PATCH 11/13] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e82421d..1c04e27 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ -# Midscene Python -[English](README.md) | [简体中文](README.zh.md)  -[![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg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LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/Python51888/Midscene-Python) - -Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms. +# Midscene Python [![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/Python51888/Midscene-Python)               +[English](README.md) | [简体中文](README.zh.md)    +Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms.  ## Overview From 361864a4c0b63b20d1fc082f34ee54af0616c9f3 Mon Sep 17 00:00:00 2001 From: "A.Chao5858" <39320196+Python51888@users.noreply.github.com> Date: Sat, 4 Oct 2025 20:18:05 +0800 Subject: [PATCH 12/13] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c04e27..0ec2dcc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Midscene Python [![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/Python51888/Midscene-Python)               -[English](README.md) | [简体中文](README.zh.md)    -Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms.  +[English](README.md) | [简体中文](README.zh.md) + +Midscene Python is an AI-based automation framework that supports UI automation operations on Web and Android platforms.    ## Overview From 0c41d666ec0e3170919006545f00c2d90ead7c06 Mon Sep 17 00:00:00 2001 From: "A.Chao5858" <39320196+Python51888@users.noreply.github.com> Date: Sat, 4 Oct 2025 20:18:31 +0800 Subject: [PATCH 13/13] Update README.zh.md --- README.zh.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.zh.md b/README.zh.md index 9d09fa4..bb1f0ee 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1,5 +1,6 @@ -# Midscene Python -[English](README.md) | [中文](README.zh.md) +# Midscene Python [![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmls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AxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/Python51888/Midscene-Python) + +[English](README.md) | [中文](README.zh.md)  Midscene Python 是一个基于 AI 的自动化框架,支持 Web 和 Android 平台的 UI 自动化操作。 @@ -125,4 +126,4 @@ await agent.ai_assert("用户已成功登录") ## 许可证 -MIT License \ No newline at end of file +MIT License