What does $mech->xpath() return using WWW::Mechanize::Firefox?

192 views Asked by At

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

1

There are 1 answers

0
CJ7 On

It returns a MozRepl::RemoteObject::Instance object.