Updated xpath and added delay by using log output