# WEditor [](https://pypi.python.org/pypi/weditor) [](https://github.com/alibaba/web-editor) [](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

## 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)
Metadata
Release files for mtat-weditor 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mtat-weditor-0.1.2.tar.gz | 2.2 MB | Details |
Release files / mtat-weditor-0.1.2.tar.gz
| Download URL | mtat-weditor-0.1.2.tar.gz |
|---|---|
| Size | 2.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66028f401cf3d68f6df82e8812758a336356abdb2d3ac5bc13f626f8dd7c8c22
|
|
BLAKE2b-256 checksum How to use checksums |
878d54e696acf1535de9951d315c008ed77636117909e1df3e27a775babc0260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.10.0 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8
|