I am using netexport api with firebug in selenium for automation .
There are two cases.
2.Some pages has Ajax calls and its updating the response in particular DIV . So I am not able to capture/save the har file for the particular ajax request(REST service) as the page is not loading. I want the request/response details.
Is it possible to manually export the har file from selenium webdriver in java?
It would be good if we have any command/function in selenium webdriver(java) which will return har file or json string , we can call this whenever required.
The auto export option generating har file for every time page load.
https://groups.google.com/forum/#!topic/http-archive-specification/73jf6K_FK3c
Found workaround for manual har file export from java using AutoIt script .
Need to enable the firebug plug in Firefox and net panel view will be displayed by default and we have option to manually export har file.
By using Autoit tool we can record the manual export function and compile the script which will give .exe file we can call the exe file from java .