In my understanding, it appears that this question lacks a basic grasp of the problem at hand.
Firebug is not a Java library but rather a Firefox plugin, so attempting to interact with it programmatically through Selenium Java code is not possible. However, you can open Firebug in your Selenium-driven Firefox browser using keyboard shortcuts, but you cannot extract CSS properties from the Firebug window.
The statement "I donot want to use xPath to check for properties" is unclear.
If you wish to retrieve CSS properties using Selenium directly, you must first locate the element using various methods, XPath being just one option. Then, you can utilize the <code>getCssValue()
method to access a specific CSS property. Selenium does not provide a way to retrieve all properties simultaneously.
For instance:
String bgColor = driver.findElement(By.id("myId")).getCssValue("background-color");
You may find this related query on "WebDriver - getCssValue method" helpful.