https://github.com/visactor/midscene-test-demo
Midscene test demo for VisActor
https://github.com/visactor/midscene-test-demo
Last synced: 7 months ago
JSON representation
Midscene test demo for VisActor
- Host: GitHub
- URL: https://github.com/visactor/midscene-test-demo
- Owner: VisActor
- Created: 2025-03-04T11:56:35.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-04T12:04:37.000Z (10 months ago)
- Last Synced: 2025-03-04T13:20:20.482Z (10 months ago)
- Language: TypeScript
- Size: 288 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VisActor Midscene.js Test Demo
Use [Midscene.js](https://github.com/web-infra-dev/midscene) to test [VChart](https://github.com/VisActor/VChart) and [VTable](https://github.com/VisActor/VTable).
## Steps
create `.env` file
```shell
# replace by your own, example(qwen):
OPENAI_BASE_URL="https://dashscope.aliyuncs.com/compatible-mode/v1"
OPENAI_API_KEY="YOUR_TOKEN"
MIDSCENE_MODEL_NAME="qwen-vl-max-latest"
MIDSCENE_USE_QWEN_VL=1
```
run demo
```bash
pnpm install
# run vchart demo
pnpm run start-test-vchart
# run vtable demo
pnpm run start-test-vtable
```
# Reference
- [Midscene.js Integrate with Puppeteer](https://midscenejs.com/integrate-with-puppeteer.html)
- [Midscene.js API](https://midscenejs.com/api.html)
- [VChart](https://www.visactor.com/vchart)
- [VTable](https://www.visactor.com/vtable)