Hi is there anyone can help me how to build the xpath for below 2 different XPath values?
//*[@id="EditorPanel"]/div[3]/div/table[1]/tbody/tr/td/table[1]
//*[@id="EditorPanel"]/div[4]/div/table[1]/tbody/tr/td/table[1]
Im thinking something like
//*[@id="EditorPanel"]/div[3-4]/div/table[1]/tbody/tr/td/table[1]
div[3]
is just an abbreviation of div[position() = 3]
, so you can use
//*[@id="EditorPanel"]/div[position() = 3 or position() = 4]/div/table[1]/tbody/tr/td/table[1]