I am facing issue with xpath using firepath .
If I select any web element using fire path it is giving xpath as html/body/div[1]/div/div[2]/div/form/fieldset/p/input
but it is not selecting element properly previously it(xpath) is generating like below (means relative path)
By.xpath("//table[@id='tableId']/tbody/tr[1]")
Please guide me what to change in firepath.