implementing for getLine() in scenario_outline.js