I have a back button on my web page which I need to click on from different places.
In one page the back buttons xpath looks like: //property-list/ion-header/ion-navbar/button
In another other page it looks like: //select-client/ion-header/ion-navbar/button
.
I'm using POM - can I use one object to identify all the xpaths my button could have?