selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

expose capability for site to talk to SIDE

Open toddtarsi opened this issue 3 years ago • 0 comments

Something like this:


const talkToSIDE = async () => {
  const pluginChannel = await window.sideAPI.requestPluginChannel('your-plugin-id');
  if (pluginChannel) {
    pluginChannel.on('commandRecorded', (e) => { ... });
    pluginChannel.on('playbackStart', (e) => { ... });
  }
};

toddtarsi avatar Jul 15 '22 21:07 toddtarsi