@uicheck/taro
Source: README
Install
npm install @uicheck/taro
Taro Mini Program client for uicheck.
import { initUiCheck } from '@uicheck/taro'
initUiCheck({
socket: {
url: 'ws://127.0.0.1:17322/socket'
}
})
Options
| Option | Type | Default | Description |
|---|---|---|---|
socket.url | string | - | @uicheck/mcp WebSocket URL |
socket.clientId | string | - | Optional stable client id |
socket.reconnectMs | number | 1000 | Reconnect interval |
screenshot | function | - | Optional screenshot function for capture_page, capture_element, and compare_screenshot, returning PNG base64 |