[BrowserTest] minor violation of Page Object design pattern

and RSPec syntax also fixed

Change-Id: I2bbaf460f6ddae708ea243064dd9a596bdd006f1