Extracted common methods into AbstractPageStepDefinition class