Well, the python test script was supposed to enable the net tool (and others) by default, by sending it in the handshake string. Unfortunately I just found the bug that was causing that to fail, which means I doubt it will be working for you at the moment. (sorry)
Are you using a crossfire version from SVN? if so, I guess it should be fixed shortly, otherwise I guess you can wait until 0.3a7. Mike On Tue, Apr 26, 2011 at 12:06 PM, sheene <[email protected]> wrote: > Hi Mike, > > thanks for your response. This looks promising. I like that the > eclipse team has stakes in crossfire. > > Ok, can I tap into your skills some more, please? > I've got the python test server running, > I've got "2*PI" evaluated in firefox and send back to the python > server. > Automating parsing/sending the json to issue commands in the correct > context is no issue. > > But how can invoke Crossfire.NetTool? In tool-listener.js I found: > /** > * A Tool is an extension that registers itself to crossfire > * for the purpose of sending and receiving commands and events > * via the crossfire protocol/connection. > */ > > Can you give me a pointer? > > Thanks, > Daniel > > On Apr 26, 1:44 am, firetoad <[email protected]> wrote: > > 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. > > -- 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.
