mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
- Added ACTION_Swipe to option/action.go for generic swipe functionality - Implemented ToolSwipe in mcp_server.go that automatically detects parameter type: - String params (up/down/left/right) use direction-based swipe logic - Array params [fromX, fromY, toX, toY] use coordinate-based swipe logic - Added comprehensive test coverage for ToolSwipe in mcp_server_test.go - Updated tool registration to include the new generic swipe tool - All tests pass, confirming backward compatibility with existing tools
uixt
From v4.3.0,HttpRunner will support mobile UI automation testing:
- iOS: based on appium/WebDriverAgent, with forked client library electricbubble/gwda in golang
- Android: based on appium-uiautomator2-server, with forked client library electricbubble/guia2 in golang
Some UI recognition algorithms are also introduced for both iOS and Android:
- OCR: based on OCR API service from volcengine, other API service may be extended
Dependencies
OCR
OCR API is a paid service, you need to pre-purchase and configure the environment variables.
- VEDEM_IMAGE_URL
- VEDEM_IMAGE_AK
- VEDEM_IMAGE_SK
Thanks
This uixt module is initially forked from the following repos and made a lot of changes.