Fix param bug. Add wait method to Web TestCases