optimize code and one browser sessions for all test case

Todo : need optimaze the group library