I have updated this now to use an ID instead of xpath.