> 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