2025-04-15 11:31:12 +08:00
|
|
|
## Start experiencing
|
|
|
|
|
|
|
|
After the configuration, you can immediately experience Midscene. There are three main tabs in the extension:
|
|
|
|
|
2025-04-21 20:51:17 +08:00
|
|
|
- **Action**: interact with the web page. This is also known as "Auto Planning". For example:
|
|
|
|
```
|
|
|
|
type Midscene in the search box
|
|
|
|
click the login button
|
|
|
|
```
|
|
|
|
|
|
|
|
- **Query**: extract JSON data from the web page
|
|
|
|
|
|
|
|
```
|
|
|
|
extract the user id from the page, return in \{ id: string \}
|
|
|
|
```
|
|
|
|
|
|
|
|
- **Assert**: validate the page
|
|
|
|
|
|
|
|
```
|
|
|
|
the page title is "Midscene"
|
|
|
|
```
|
|
|
|
|
|
|
|
- **Tap**: perform a single tap on the element where you want to click. This is also known as "Instant Action".
|
|
|
|
|
|
|
|
```
|
|
|
|
the login button
|
|
|
|
```
|
2025-04-15 11:31:12 +08:00
|
|
|
|
|
|
|
Enjoy !
|
|
|
|
|
2025-05-21 19:24:11 +08:00
|
|
|
> For the different between "Auto Planning" and "Instant Action", please refer to the [API](../API.html) document.
|
2025-04-21 20:51:17 +08:00
|
|
|
|
2025-04-15 11:31:12 +08:00
|
|
|
## Want to write some code ?
|
|
|
|
|
|
|
|
After experiencing, you may want to write some code to integrate Midscene. There are multiple ways to do that. Please refer to the documents below:
|
|
|
|
|
2025-05-21 19:24:11 +08:00
|
|
|
* [Automate with Scripts in YAML](../automate-with-scripts-in-yaml)
|