@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

OptionTypeDefaultDescription
socket.urlstring-@uicheck/mcp WebSocket URL
socket.clientIdstring-Optional stable client id
socket.reconnectMsnumber1000Reconnect interval
screenshotfunction-Optional screenshot function for capture_page, capture_element, and compare_screenshot, returning PNG base64