Hi Team,
Do we support the relative path of xpath instead of absolute path?
Because absolute path not stable enough, page's small change will cause case failed, so I'd like to use relative path, seem I putted the relative path, the element can not be found.
Absolute path: /html[1]/body[1]/div[10]/div[2]/div[1]/div[3]/div[1]/div[1]/ul[1]/li[1]/a[1]
Relative path: //div[@id='nameplate-header']/div[1]/ul/li[1]/a
Thanks
Waylon
Do we support the relative path of xpath instead of absolute path?
Because absolute path not stable enough, page's small change will cause case failed, so I'd like to use relative path, seem I putted the relative path, the element can not be found.
Absolute path: /html[1]/body[1]/div[10]/div[2]/div[1]/div[3]/div[1]/div[1]/ul[1]/li[1]/a[1]
Relative path: //div[@id='nameplate-header']/div[1]/ul/li[1]/a
Thanks
Waylon