fixed issue with obtaining element IDs, added means of getting xpath from element