Need your help in locating proper XPath for findElements method in Selenium. Below are the details:
URL - http://www.cleartrip.com/hotels/info/hotel-royal-heritage-30km-before-mount-abu-713374/
From the above URL, I want to extract only the below headers available on right hand side of the page.
1) Basic Amenities
2) Food & Beverages
3) Travel
4) Personal Services
5) Other Amenities
I have tried below XPaths till now:
1) html/body/div[1]/div[4]/div[2]/*
This extracts everything along with amenities listed under the headers.
2) html/body/div[1]/div[4]/div[2]/h3/*
this doesn't work.
3) html/body/div[1]/div[4]/div[2]/h[*]
this doesn't work either.
Any ideas please?
Thanks, Bharat.