Mini Program Automation SDK provides developers with a solution to control Mini Program via external scripts, enabling Mini Program automated testing.
If you have previously used Selenium WebDriver or Puppeteer, you can get started quickly with ease. The Mini Program Automation SDK works on a similar principle, with the main difference being that the control target is Mini Program instead of a browser.
If you are familiar with Python, you can refer to Minium, which supports running locally or directly via the Cloud Test Plugin in Developer Tools.
Features
With this SDK, you can:
- Control Mini Program to navigate to a specific page
- Retrieve page data from Mini Program
- Get the state of page elements in Mini Program
- Trigger binding events of elements in Mini Program
- Inject code snippets into AppService
- Invoke any interface on the wx object *...
See Quick Start for details.