New Relic Synthetics language library for Selenium IDE
This library implements the Selenium IDE code export framework see details here
const codeExport = require('code-export-node-nr-synthetics')
...
if (message.action === 'export') {
let funcExport = (typeof message.options.suite != 'undefined')?codeExport.emitSuite : codeExport.emitTest
funcExport(parseMessage(message)).then( sendResponse)
return true
}
});
See sample usage in New Relic Synthetics formatter for Selenium IDE