There are scenarios in feature files wherein I've use the text **"Foo"** and on click its open a new page. this text sometime changes to **"Foo1"** or **"Foo2"** or to **something else**. **to avoid line by line change in feature file for "Foo" to "Foo1" or "Foo2"** is there any way that I can globally declare variable in top/bottom of the feature file where I can set the required text in variable on fly and I shall start executing my test instantly?

This change exist in many feature files and around 1000 lines in feature file. To get solution for this, I try on setting environment variables but I couldn't reach all the way till end this issue to solve. So can anyone help me on this?

Thanks in advance