Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

Latest commit

 

History

History
71 lines (45 loc) · 1.74 KB

README_ZH.md

File metadata and controls

71 lines (45 loc) · 1.74 KB

该项目后面就不在更新了,请使用新的重构版 https://uiauto.dev

WEditor

image image image

English README.md

编辑器能够提供辅助编写脚本,查看组件信息,调试代码等功能。

Screenshot

screenshot

安装

依赖项目

Only tested in Google Chrome, IE seems not working well.

pip3 install -U weditor # uiautomator2, facebook-wda会被作为依赖一并安装上去

如果要运行开发版本,安装方法如下

git clone https://github.com/alibaba/web-editor
pip3 install -e web-editor

使用方法

weditor # 启动server并打开浏览器

创建桌面快捷方式(仅限Windows)

weditor --shortcut

更多选项通过 weditor --help 查看

如果浏览器没有自动打开,可以手动访问 http://localhost:17310

17310这个端口是为了纪念,项目的创建日期 2017/03/10

常用快捷键

Mac

  • Command+Enter: 运行编辑器中所有代码
  • Command+SHIFT+Enter: 运行选中代码或光标所在行代码

Windows

  • CTRL+Enter: 运行编辑器中所有代码
  • CTRL+SHIFT+Enter: 运行选中代码或光标所在行代码

开发者文档

See DEVELOP.md

LICENSE

MIT