I'm currently working with Protractor alongside TypeScript. I have an element located at:
xpath = "**//div[@class='loglist']/div[1]/div[2]**"
Afterwards, there are additional elements that need to be identified in different divs such as:
**/div[2]/div[2]**, **/div[3]/div[2]**, /**div[4]/div[2]**,
The only part changing is the div number. How can I combine all of these into a single xpath
instead of having multiple xpaths?