selenium webdriver - Firepath is giving absolute path but we need relative path -
i facing issue xpath using firepath .
if select web element using fire path giving xpath html/body/div[1]/div/div[2]/div/form/fieldset/p/input
not selecting element it(xpath) generating below (means relative path)
by.xpath("//table[@id='tableid']/tbody/tr[1]")
please guide me alter in firepath.
i think the absolute fire path checked in fire path drop down.
to resolve press f12 fire path, click on drop downwards arrow in fire path tab, united nations check generate absolute xpath , restart fire path.
selenium-webdriver firepath
No comments:
Post a Comment