scenario.getname() cucumber-js code example
Example: scenario.getname() cucumber-js
const { defineSupportCode } = require('cucumber');
defineSupportCode(function({Before}) {
Before((scenario)=> {
console.log('before scenario', scenario.name);
});
})