This is a bug. Could you please report an issue here:
http://code.google.com/p/fbug/issues/list
and attach the test-case?
I'll fix it.

Thanks!
Honza

On Sep 8, 6:10 pm, "Marius Hanganu" <[EMAIL PROTECTED]> wrote:
> Thanks!
>
> And if I need to use this variable from my own  HTML page, how can I access
> it?
>
> Here's the code I'm trying to use in my own HTML page - but it doesn't work:
>
> <html><body>
> <input type="button" value="show me" onclick="alert(console.$0)"/>
> <div id="test1">test1</div>
> <div id="test2">test2</div>
> </body></html>
>
> Thanks again,
> Marius
>
> On Mon, Sep 8, 2008 at 5:15 PM, Jan Odvarko <[EMAIL PROTECTED]> wrote:
>
> > > Is it possible to retrieve the selected (inspected) element from
> > > Firebug? I imagine something like a javascript function that would
> > > connect to a "stopInspecting" method and get the selected element from
> > > a global variable.
> > Yes, use the command line in Console panel and following functions:
> > $0 - Variable containing the most recently inspected object .
> > $1 - Variable containing the next most recently inspected object .
> > $n(5) - Returns the nth most recently inspected object that has been
> > inspected.
>
> > > I need to extract further the XPath and send it to a Java engine on
> > > the server. Which brings my 2nd question: how can I match Firebug's
> > > (or Firefox') XPath to my own Java based HTML parser? Does anyone know
> > > if the normalization engine can be called as an external process from
> > > a Java app?
> > Would Firequark (Firebug extension) help here?
> >http://www.quarkruby.com/2007/9/5/firequark-quick-html-screen-scraping
>
> > Honza
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to