搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Automation: How to allow java plug-ins to run when the page is invoked via Selenium FF driver?

  • 1 回覆
  • 1 有這個問題
  • 12 次檢視
  • 最近回覆由 guigs

more options

My automated test involves navigating to a webpage on a remote system (via Selenium Firefox Driver) which runs a Java Plug-in to launch an embedded Java Applet. When the test first ran, I connected to the remote system (via Remote Desktop) and manually selected "Allow and Remember" as the plug-in was trying to run. However, this only addressed that first instance; it didn't address subsequent instances where I wanted to run the same test, same server (same plug-in).

My automated test involves navigating to a webpage on a remote system (via Selenium Firefox Driver) which runs a Java Plug-in to launch an embedded Java Applet. When the test first ran, I connected to the remote system (via Remote Desktop) and manually selected "Allow and Remember" as the plug-in was trying to run. However, this only addressed that first instance; it didn't address subsequent instances where I wanted to run the same test, same server (same plug-in).

所有回覆 (1)

more options

Hey I got an awesome tip about this from the #addons channel Archaeopteryx

You can Manage your Firefox Click To Play Whitelist.

Post back with the results :-)