Firebug is an add on to the Firefox, it enables the user to see the html code of the web page.
What ever the build code finally the webpage will be rendered in html code only.
For example : an webpage is developed using SAP but how to handle it with selenium ???
It is simple just check the webpage whether the code is developed by SAP, nopes ..if you check the source you will see only html nothing else because webpage will be rendered in html only.
Who asked your stupid theory ..why the heck we are using firebug tell me that ?
1.Fine.Have you ever right clicked on the banking websites ?
You might get below error ,right clicks are restricted in money handling and secured website, at that time we cannot see the source by right clicking.
1.1.Right click restricted on railway sites.(IRCTC.co.in)
2.Some webpages gives an customized right click like email (gmail,yahoo,hotmail) you might see options like open,copy,move,mark as read,mark as un read,delete ..but you will not see inspect element option or view source options.
3.When an application open only in Internet explorer ?
Like SAP applications, Project specific applications, most of the projects uses Internet Explorer because it is secured and managed.
Follow Below Steps to Install FireBug:
1.In firefox on the right hand top corner you can see a bug like icon
2.Click that bug icon
3.Now an window pops at the bottom
4.Select Rectangular with cursor icon and navigate on the webpage,it will highlight webelements with blue box
5.Now the bottom window will show you the source according to the element on which you are placing your cursor
6.Click on any web-element and then analyse the source
1.Right Click on the element and select Inspect Element with Firebug.
Follow Below Steps to Install FirePath
2.Go to Options
4.Click On Get Add Ons
5.Enter "Firepath" in the right top corner search box
6.Hit Enter Key
7.On the results select Install Button on the firebug Result
6.It start and completes installation in seconds,It will ask you to Restart the firefox,Please restart it.
7.After restart click on the firebug icon,now it will pop a window at the bottom,In same window you can find Firepath at the End.
7.If Firepath does not exist there,then goto Tools->FireBug->Visible Panels-> enable Firepath.
Article is written by Pavan (a) KarthiQ. Well, I am serving notice period in an MNC, Bangalore. I thought to enrich every person knowledge a little, I always have a feeling, when we teach something, we will learn more than what you know.
Knowledge is the only thing that doubles when you spend it.
I have also created the reporter for Protractor Jasmine. Use for your projects without any hesitation