Update test cases, removing pause and set 'waitForElement' command.