Posted in Automation Testing Tool, Deprecated, Selenium

WebDriver Locator Plug-In to find Xpath with WebDriver script in Desired Programming Language.

WebDriver Locator Plug-in

Screen Shot 2018-08-08 at 10.30.13 AM.png

 

To locate Element from page may tricky for New User, and it can be extremely time consuming to manually check the html for every element to construct their locators in a site with hundreds if not thousands of unique testable elements. So to overcome with this problem there is plug-in which allow us to concentrate on writing valuable tests rather than worrying about the list of elements yet to locate.

Introduction:

WebDriver Locator Plug-in is a Firefox plug-in and it can be used not only to generate xpath locator for the web element which are displaying on page but also to generate WebDriver script in desired programming languages.

Why to use WebDriver Locator plug-In:

There are lots of ads on available for Firefox to find Locator from Webpage so the question may arise why we are using WebDriver Locator Plug-In:

  • To find xpath is more Easy than firebug and firepath.
  • It generates WebDriver script along with Xpath in various programming languages so it by using this you can save you time for on writing valuable tests rather than worrying about the list of elements yet to locate

Installation:

1.Open Firefox browser and Navigate to https://addons.mozilla.org/.and search WebDriver Locator Plug-In

2.Click on continue to download button present on the page.

 3.Click on Add to Firefox option button present on the page. 

 4.Click on install.

 5.Click on ok.

 

How to use WebDriver Locator Plug-in

1.Launch Firefox browser and browse any web application.

2.Right Click on any web Element to find the locator and observe a additional option related to WebDriver Locator  click on the desired Language locator

 

3.Open Notepad and paste the locator and use it in your Script you can observe Xpath Locator along with Seelenium WebDriver Code In java got passed into notepad editor.

 

Conclusion:

WebDriver Locator not only suggests the best Xpath Locator but also generate Selenium Script in your Desired Language to speed up the process of Test Case Writing.

[PS:This plug in is not compatible with new version of firefox instead of this you can use Chropath plugin for more you can visit my post on chropath

Thanks

Abhishek Roy

Sr.Test Engineer