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
- Open Firefox
- Install the Firebug addon if its not already installed
- Turn on Firebug addon
- Click the mouse arrow in the Firebug panel
- Click on an element on the web page in Firefox to select the element
- Firebug will focus on the html element and its attributes
- Select an element to use with the By method in Selenium WebDriver