# Because it is difficult to reconstruct this project, I wrote a new one. Visit <https://appinspector.devsleep.com/> and have a try
## WEditor
[![image](https://img.shields.io/pypi/v/weditor.svg?style=flat-square)](https://pypi.python.org/pypi/weditor)
[![image](https://img.shields.io/github/stars/alibaba/web-editor.svg?style=social&label=Star&style=flat-square)](https://github.com/alibaba/web-editor)
[![image](https://travis-ci.org/alibaba/web-editor.svg?branch=master)](https://travis-ci.org/alibaba/web-editor)
[中文文档](README_ZH.md)
This project is subproject for smart phone test framework [openatx](https://github.com/openatx)
for easily use web browser to edit UI scripts.
Screenshot
![screenshot](./screenshot.jpg)
## Installation
Dependencies
- Python3.6+
- [uiautomator2](https://github.com/openatx/uiautomator2)
- [facebook-wda](https://github.com/openatx/facebook-wda)
> Only tested in `Google Chrome`, _IE_ seems not working well.
```
pip3 install -U weditor
```
For developers
```bash
git clone https://github.com/openatx/weditor
pip3 install -e weditor
```
## Usage
Create Shortcut in Desktop (Only windows)
```
weditor --shortcut
```
By click shortcut or run in command line
```
weditor
```
This command will start a local server with port 17310,
and then open a browser tab for you to editor you code.
Port 17310 is to memorize the created day -- 2017/03/10
To see more usage run `weditor -h`
## Hotkeys(Both Mac and Win)
- Right click screen: `Dump Hierarchy`
### Hotkeys(only Mac)
- Command+Enter: Run the whole code
- Command+Shift+Enter: Run selected code or current line if not selected
### Hotkeys(only Win)
- Ctrl+Enter: Run the whole code
- Ctrl+Shift+Enter: Run selected code or current line if not selected
## For Developers
See [DEVELOP.md](DEVELOP.md)
## LICENSE
[MIT](LICENSE)
Raw data
{
"_id": null,
"home_page": "https://github.com/openatx/weditor",
"name": "weditor",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "codeskyblue",
"author_email": "codeskyblue@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ab/8a/dfe8a1b803ab71644140a5a6d4ce4ad8db0c6e1f92634072c4290f58193c/weditor-0.7.3.tar.gz",
"platform": null,
"description": "# Because it is difficult to reconstruct this project, I wrote a new one. Visit <https://appinspector.devsleep.com/> and have a try\n\n## WEditor\n[![image](https://img.shields.io/pypi/v/weditor.svg?style=flat-square)](https://pypi.python.org/pypi/weditor)\n[![image](https://img.shields.io/github/stars/alibaba/web-editor.svg?style=social&label=Star&style=flat-square)](https://github.com/alibaba/web-editor)\n[![image](https://travis-ci.org/alibaba/web-editor.svg?branch=master)](https://travis-ci.org/alibaba/web-editor)\n\n[\u4e2d\u6587\u6587\u6863](README_ZH.md)\n\nThis project is subproject for smart phone test framework [openatx](https://github.com/openatx)\nfor easily use web browser to edit UI scripts.\n\nScreenshot\n\n![screenshot](./screenshot.jpg)\n\n## Installation\nDependencies\n\n- Python3.6+\n - [uiautomator2](https://github.com/openatx/uiautomator2)\n - [facebook-wda](https://github.com/openatx/facebook-wda)\n\n\n> Only tested in `Google Chrome`, _IE_ seems not working well.\n\n```\npip3 install -U weditor\n```\n\nFor developers\n\n```bash\ngit clone https://github.com/openatx/weditor\npip3 install -e weditor\n```\n\n## Usage\nCreate Shortcut in Desktop (Only windows)\n\n```\nweditor --shortcut\n```\n\nBy click shortcut or run in command line\n\n```\nweditor\n```\n\nThis command will start a local server with port 17310,\nand then open a browser tab for you to editor you code.\n\nPort 17310 is to memorize the created day -- 2017/03/10\n\nTo see more usage run `weditor -h`\n\n## Hotkeys(Both Mac and Win)\n- Right click screen: `Dump Hierarchy`\n\n### Hotkeys(only Mac)\n- Command+Enter: Run the whole code\n- Command+Shift+Enter: Run selected code or current line if not selected\n\n### Hotkeys(only Win)\n- Ctrl+Enter: Run the whole code\n- Ctrl+Shift+Enter: Run selected code or current line if not selected\n\n## For Developers\nSee [DEVELOP.md](DEVELOP.md)\n\n## LICENSE\n[MIT](LICENSE)",
"bugtrack_url": null,
"license": "MIT",
"summary": "tool for writing atx script",
"version": "0.7.3",
"project_urls": {
"Homepage": "https://github.com/openatx/weditor"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ab8adfe8a1b803ab71644140a5a6d4ce4ad8db0c6e1f92634072c4290f58193c",
"md5": "008adacef298d0e6fa7ec1c2258dc493",
"sha256": "3eef54ae8901c421f5885c0963defe7879f334ee8c7f747c523c976b589053f4"
},
"downloads": -1,
"filename": "weditor-0.7.3.tar.gz",
"has_sig": false,
"md5_digest": "008adacef298d0e6fa7ec1c2258dc493",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 2206315,
"upload_time": "2024-05-07T07:33:14",
"upload_time_iso_8601": "2024-05-07T07:33:14.482394Z",
"url": "https://files.pythonhosted.org/packages/ab/8a/dfe8a1b803ab71644140a5a6d4ce4ad8db0c6e1f92634072c4290f58193c/weditor-0.7.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-07 07:33:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "openatx",
"github_project": "weditor",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "weditor"
}