Firefox basic modification
I have to modify firefox to make it an automated client for testing some personal servers.
I have to:1.Have firefox connect normaly, send the GET HTTP, and run all scripts on that web page. 2.Firefox does not display the page but save it to a file. I have not yet red the documentation, or the source, sorry. I want some hints on what functions firefox uses for this actions. Also this functions should be like an internal API, I mean that I should always find the functions in the version n+1. I also want to remove all the junk that remains and I not use, this will probably be an ugly task. Also I want some hints on the memory structure of firefox. Example: How do I access the variables that are available for the client side scripts开发者_StackOverflow中文版 firefox will run. What about the cookies. Thank you.Instead of modifying the internal code of Firefox you should try implementing what you need in an extension. Better yet, use something already created, like Selenium.
You generally don't get useful answers to general questions like this.
精彩评论