Ref: From the post of Sanjay Kumar(Medium. And if verifying CSS then it will add css=2. For example, a matching node appearing second in the list will have xpath=2.
ChroPath is very good alternative for Firebug and Xpath Finder. Step 1-First Install the FireBug and then Go to Tools > Web Developer > Get More Tools. ChroPath is the only tool for now which provide the unique Relative xpath and CSS selector for any web element in webpage in Firefox and Chrome. ChroPath makes it easy to write, edit, extract, and evaluate XPath queries on any webpage. Also, if you see any errors related to Firebug, you should post them to the Firebug discussion group or if there are some related to FirePath, you should create a new issue in their issue tracker. [EDIT:Now the chropath is available for Firefox,chrome,opera and Edge browser and version 6.0 having various feature like record the steps,get all xpath altogether in csv file,get xpath using desired attribute and many more.As lots of tutorial and blogs are available so will share the link of the blogs and tutorials in this post itself this extension:ĬhroPath is a developer tool, which is used to edit, inspect and generate relative xpath, absolute xpath and CSS selectors. You should create a new Firefox profile, just install Firebug and FirePath there and see if its then working. ¸ The following are the steps to install Firepath add-on. This plugin extends the potential of the FireBug add-on.
FirePath could be a Firebug extension that adds a development tool to edit, examine and generate XPath expressions and CSS3 Selectors. vThis completes the firebug installation. FirePath: FireBug that adds a development tool to edit, examine and generate XPath expressions and CSS3 Selectors. So Finally i found a solution for this i.e “ ChroPath” vafter successful installation, firebug can be viewed in following path ß Tools Web Developer Firebug ß An icon will be displayed at the top right corner. As we all know in Firebug and Firepath is deprecatede with New version Firefox ,And its very difficut to verify your customized xpath in current version firefox.