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

alibaba/web-editor

Repository files navigation

WEditor

image image image

This project is subproject for smart phone test framework openatx for easily use web browser to edit atx scripts. This project is hosted in https://github.com/openatx/weditor

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

Installation

Tested with python 3.6, 3.7

pip3 install --upgrade weditor

Usage

Create Shortcut in Desktop

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

LICENSE

MIT