cenário.getName () pepino-js

const { defineSupportCode } = require('cucumber');

defineSupportCode(function({Before}) {
    Before((scenario)=> {
      console.log('before scenario', scenario.name);
    });
})
Fine Flamingo