What does $mech->xpath() return using WWW::Mechanize::Firefox?
The documentation says it "Returns the matched results.", which doesn't help.
What object or array of objects is returned and where is a specification of this object so I can reference its member variables and methods?
So far I have guessed that this is relevant: https://developer.mozilla.org/en-US/docs/Web/API/Element
It returns a
MozRepl::RemoteObject::Instanceobject.