Fixing elegibility error search class in pageobjects framework