Not what you asked for, but I really like
Firefox::Marionette and have been really wanting to try
Playwright. The latter necessarily uses the capabilities used in the former to facilitate cross browser support (Playwright is at its core a node based tool, the Perl module interacts with
it; and the Playwright module doesn't use the FF module). It's more of a selenium replacement, but provided you can spare the cycles to spin up a sandboxed headless firefox or chrome, then this might open another option to you.
edited former/latter derp