我面临着完全相同的问题https://github.com/mozilla/geckodriver/issues/1358。
从Linux截取的Firefox无头模式屏幕截图缺少输入框
问题:
我们是否有其他解决方案来解决这个问题。我正在使用FF 83
可以使用firefox设置解决。
widget.disable-native-theme-for-content
到 true
参考 :
https://www.reddit.com/r/firefox/comments/k2nghh/any_alternatives_for_firefoxlinuxheadless/
我确认它可以正常工作。