To work with Selenium webdriver it is important to find the element, so far we were using firepath along with firebug to inspect the elements, but now firebug have become obsolete so do firepath, Now automation developers and webpage developers are facing an issue with firefox to find xpath and CSS selector
Firefox stopped supporting firebug and firepath, as firepath is just an add on to firebug. On November 14, with the launch of Firefox Quantum (AKA 57), support for old school extensions will stop in Firefox. That means Firebug will no longer work for many developers.
People who were using firbeug are in need of an alternative tool to find xpaths
There are other add ons to overcome firebug isolation. One of the best tools to verify XPath is Try Xpath add on to firefox developed by larissa9839. We are going to learn how to install and how to use try xpath with firefox in a step by step manner to use along with selenium webdriver.
Try Xpath is one of the best alternatives to firebug. However, it may help the user to find the XPath, Try Xpath add on's sole purpose to verify whether our XPath is matching with any tool or not.
Advantages of Try Xpath With Selenium Webdriver :
1. Try Xpath helps users to verify Xpath
2. Try Xpath helps to evaluate CSS selectors
3. If there is more than one matching element, Try Xpath helps to focus on the required element usingFocusbutton.
1. Choose Way: querySelector, expression: select, hit Enter Key on your keyboard or click Execute button
(Open Url : https://chercher.tech/java/practice-dropdowns)
2. If there is a matching element for the given CSS value, Try Xpath highlights the element with a dashed redline.
3. If there are more elements which match the xpath, Try Xpath will not highlight all of them except the first match
4. If we want to all the matches for the Given xpath, please do change the Way: querySelectorAll, hit Enter after changing the way, Try Xpath will highlight all the matching elements
5. Scroll down the dialog box, to see all th element details
6. With the help of Focus button you highlight the elements(Blue Solid Line)
I am Pavankumar, Having 8.5 years of experience currently working in Video/Live Analytics project.