| command | target | parameter value | format | Description |
| pen | URL address | No | open| www.tingyun.com | | Browse the specified URL address in the current window. If there is no window yet, open a new window and browse. |
| selectFrame | target frame identification, subframe index from 0 To start, commonly used identifiers are: index=0 (first subframe) relative=parent (the upper-level frame of the current frame) |
No | selectFrame| index=0 | | Select a frame to proceed to the next step. |
| click | Element select parameter | No | click | id=tingyun | | click on Element |
| type | Element select parameter | Content to enter | type | id=username | tingyun | looks for Element and enters the content. |
| runScript | Element selection parameter (optional), when Element is specified, Element will be searched first, and then the script | runScript | | console.log(“OK”); | runs the script. | |
| selectWindow | window identifier, the window index value starts from 1, commonly used identifiers are: win_ser_1 (second window) win_ser_local (the first window, equivalent to win_ser_0) |
No | selectWindow| win_ser_1 | | switches windows. |
| Screenshot/captureEntirePageScreenshot/taskScreenshot | No | No | screenshot | | | Screenshot of the current window. The three commands are compatible and have the same functions. |
| source/getPageSource/storeHtmlSource/waitForHtmlSource | No | No | source | | | Save current window page source code, 4 commands are compatible and have the same functions. |
| deleteCookie | cookie name | No | deleteCookie | www.tingyun | | Deletes the specified cookie. |
| deleteCookies | No | No | deleteCookies | | | Delete all cookies. |