Firefox无头浏览器的规避检测

python firefox无头浏览器的规避检测应该怎么写 用谷歌的方法会报错

https://www.cnblogs.com/guniang/p/11727492.html