On Apr 21, 11:56 am, sheene <[email protected]> wrote: > Hi, > > I want to automate measuring the size of web pages. I thought of wget > but that does not execute javascript. And HTMLUnit also has bad > javascript support. NetExport does what I want to do except I need to > automate it. > > I want to iterate over a list of websites, get Firefox to load with > them including executing the javascript content and then export the > Network statistics. I have particular need of the detailed size > statistics for each object and the host it came from. This task needs > to be automated? > > I am at the stage of evaluating alternative approaches at would like > to know your opinion regarding feasibility. > I came across XPCom which has a Java version but I have never used it. > I wonder if anybody could tell me if this is a feasible approach. I > thought I run Firefox headless on a Linux box and then connect to it > with XPCom. Or maybeCrossfire? Any other (simpler) ideas? > > Best regards, > Daniel
You could connect to it with Crossfire, there's a 'net tool' in recent 0.3 releases which implements the net-listener, but it does not have as much information as you would get with NetExport. You would have some work to do on your end to automate it, but I think the net-tool in conjunction with the updatecontext command (to load new web pages) could do what you want, depending on how much detail you need. Mike -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
