Be Brav3

Locating a WebElement for Selenium WebDriver With Firebug

March 10, 2016

Before an element can be found by WebDriver, we need to manually find the element using a Firefox Addon called Firebug

  1. Open Firefox
  2. Install the Firebug addon if its not already installed
  3. Turn on Firebug addon
  4. Click the mouse arrow in the Firebug panel
  5. Click on an element on the web page in Firefox to select the element
  6. Firebug will focus on the html element and its attributes
  7. Select an element to use with the By method in Selenium WebDriver