XPATH with a table and containing keyword
Posted: Tue Oct 17, 2017 12:45 pm
Hi guys,
I have few tabs in my html and one of these tabs contains a table. Problem is that the position of specific tab changes.
Normally I would use for example:
//div[@id='TabbedPanels1']/div/div[6]/table/tbody/tr[2]/td[3]
as in this case the tab im interested in is 6th from left (div[6]).
But now instead of div[6] i need to put 'contains "name"' but I have no idea how to combine that with my code. I'd appreciate any help!
thanks
I have few tabs in my html and one of these tabs contains a table. Problem is that the position of specific tab changes.
Normally I would use for example:
//div[@id='TabbedPanels1']/div/div[6]/table/tbody/tr[2]/td[3]
as in this case the tab im interested in is 6th from left (div[6]).
But now instead of div[6] i need to put 'contains "name"' but I have no idea how to combine that with my code. I'd appreciate any help!
thanks