$("div:contains('Create Purchase Requisition')").click();
I have used above Javascript code to click on an element , but the is not working as there are few extra characters (Like &) in between the innertext 'Create Purchase Requisition'. I have attached the Image for your reference. Please help me to regularize the above expression so that it will handle any extra characters that comes in between after Website Upgrade.
Thanks in advance,
Maher.