Matcher

The code for loading the NearbyElementContentMatch step is as follows:

import ReplaySDK from 'imean-replay-sdk';

ReplaySDK.init({
  mode: 'Default',
  workflow: {
    id: 'test',
    steps: [
      {
        title: 'Click Create',
        id: 'AhPPa81go4KMr5CotK2eJ',
        type: 'Action',
        selector: '.mr0WL ',
        actionType: 'click',
        value: 'Create',
        extension:[
          {
            name: 'NearbyElementContentMatch',
            type: ExtensionType.Matcher,
            options: {
              value: 'targetValue'
            }
          }
        ]
      }
    ]
  }
});

Last updated