Are you using either the heartbeat docker image or the elastic-agent-complete docker image? Per the docs this monitor type requires either docker container since browsers require a complex set of dependencies.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.