ReplaySDK
  • Getting started
  • Introduction
    • Quick Start
    • Best practices.
  • WorkFlow
    • Matcher
    • Trigger
    • Commands
    • Event
    • Fetch
    • Step
  • EXTENSIONS
    • Matcher
      • NearbyElementSelector
      • NearbyElementContent
      • Sequential
    • Trigger
      • ChromeDebugger
  • Guide
    • Logs (not supported)
    • Engine
      • Chrome
      • Electron (not supported)
    • Custom Plugin
  • Extra
    • Cli (not supported)
    • FAQ (not supported)
    • Open Extensions
Powered by GitBook
On this page
  1. EXTENSIONS

Matcher

PreviousStepNextNearbyElementSelector

Last updated 1 year ago

CtrlK

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'
}
}
]
}
]
}
});