无头模式下的Docker化Firefox。 用法 docker pull deepsweet/firefox-headless-remote:68 docker run -it --rm --shm-size 2g -p 2828:2828 deepsweet/firefox-headless-remote:68 使用示例: import foxr from 'foxr' ( async ( ) => { try { const browser = await foxr . connect ( ) const page = await browser . newPage