fix(interpreter): substitute variables in locators

Introduce a new helper-method #sub() to substitute
"${variable}" styled strings in locators