Мне нужно передать значение от одного шага к другому шагу в файлах определения шага в огурце с помощью Protractor Typescript
Общий пример:
When('the user enters the value {string}', function() {
//code written to enter the value
})
Then('the user has entered the value')
{
// I need the value entered in the previous step to be validated here
}