Previously, InvalidJsonError was being used mistakenly for this which is misleading considering no JSON was involved.
beef.browser.hookChildFrames()