I need to click on thumbnail which is appearing right before "Automation-Browser (Meta) Title".
I think I need to use combination of below:
- Sibling
- Ancestor
- Preceding &
- Descendant
Code trial:
driver.findElements(By.xpath("//div[@class='*foundation-collection-item-title*'][@title='Automation-Browser (Meta) Title']//ancestor::div//coral-columnview-item-thumbnail")).size()` = Found 52 elements with same property & I do not want to use index.
I just want to click thumbnail which is appearing right before "Automation-Browser (Meta) Title"** in below screenshot.