Preface: This article covers how to install and use the agentM Emulator Chrome Extension. This extension allows you to test your applications in your browser, without needing to have a physical meldCX device.
Download the following extension and install this as an unpackaged extension in your browser: https://storage.googleapis.com/assets.meld.cx/agent/emulator/dist-1-0-5.zip
Please unzip the file before attempting to load the extension.
- Open the Extension Management page by navigating to
- The Extension Management page can also be opened by clicking on the Chrome menu, hovering over More Tools then selecting Extensions.
- Enable Developer Mode by clicking the toggle switch next to Developer mode.
- Click the LOAD UNPACKED button and select the extension directory.
How do I use the agentM Emulator Extensions?
Step 1: Click on the meldCX extension, select the menu icon and then tick the pages you would like the emulator to be enabled on. In this example I have approved http://localhost:9991
Emulator: Device and Display Options
Step 1: Select Options from the side menu
Step 2: Add options then enter option Names and option Values
Step 1: Use the above agentM APIs to download cross-origin content
Step 2: Select Downloader from the side menu
Step 3: When the download is triggered you should see the following
Emulator: App Switching
Step 1: Select 'Appswitcher' from the side menu
Step 2: Add the URL fo the pages you would like your app switcher to switch between (if these use agent library functions you will need to approve them in the previous step)
This is an evolving guide which will cover all the features of the agentM API, including stubbed peripheral devices. Please keep an eye out here for further updates
If you have any question about this emulator or how to use it please contact firstname.lastname@example.org for some assistance.