docs(guide): 添加 Action Interceptor 使用指南文档#468
Open
hlwen wants to merge 4 commits intoalibaba:mainfrom
Open
Conversation
- 创建 ACTION_INTERCEPTOR_GUIDE.md 详细介绍拦截器功能 - 提供基本用法示例包括简单拦截、危险操作确认等功能 - 添加参数说明和可用工具名称列表 - 包含 PageController 辅助方法介绍 - 提供高级用法示例如日志记录、频率限制等功能 - 添加与 requireConfirmation 参数对比说明 - 包含性能考虑、错误处理和异步操作注意事项 - 提供企业级拦截器完整示例代码
- 创建 ACTION_INTERCEPTOR_GUIDE.md 详细介绍拦截器功能 - 提供基本用法示例包括简单拦截、危险操作确认等功能 - 添加参数说明和可用工具名称列表 - 包含 PageController 辅助方法介绍 - 提供高级用法示例如日志记录、频率限制等功能 - 添加与 requireConfirmation 参数对比说明 - 包含性能考虑、错误处理和异步操作注意事项 - 提供企业级拦截器完整示例代码
…actionInterceptor
- 在 PageController 类中新增 getElementInfo 方法 - 该方法允许通过索引获取指定元素的详细信息 - 为后续元素操作和状态管理提供更多便利
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
新增
ACTION_INTERCEPTOR_GUIDE.md文档,完整介绍拦截器功能,包含基础用法、危险操作确认、参数说明、工具名称、PageController辅助方法、日志/频率限制等高级示例、与requireConfirmation对比、性能与错误处理说明及企业级完整示例代码。Closes #(issue)
Type
Testing
Requirements / 要求