我需要在 Python 中以自动方式允许 Flash 内容。我尝试在 Python 中使用 Selenium 来做到这一点,但无法管理。问题是浏览器停止支持始终允许 Flash 内容的设置。此外,例如无法通过 Selenium 访问“允许”按钮,因为它不是网站的一部分或 Firefox 中的设置。有谁知道潜在的解决方法?
这是我需要以某种方式访问的 Firefox 消息的图像:
python flash firefox selenium firefox-profile
firefox ×1
firefox-profile ×1
flash ×1
python ×1
selenium ×1