我有一个 FireFox 插件,它使用最新的 Firefox ESR(当前为 24.6.0)成功安装,但在尝试安装最新的 Tor Browser Bundle 时返回此错误。
我的 Test WebDriver 无法安装,因为它与 TorBrowser 24.6.0 不兼容。
为什么 Tor 浏览器说这不兼容,而 Firefox 24.6.0 却说?以及如何修改我的 .xpi 以使其正常工作?
这是我的install.rdf
:
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>test@example.com</em:id>
<em:version>2.42.0</em:version>
<em:name>My Test WebDriver</em:name>
<em:description>WebDriver implementation for Firefox</em:description>
<em:creator>Simon Stewart</em:creator>
<em:unpack>true</em:unpack>
<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>17.0</em:minVersion>
<em:maxVersion>10000.0</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Platforms where we're not compiling the native events -->
<em:targetPlatform>Darwin</em:targetPlatform>
<em:targetPlatform>SunOS</em:targetPlatform>
<em:targetPlatform>FreeBSD</em:targetPlatform>
<!-- Platforms where we are -->
<em:targetPlatform>WINNT_x86-msvc</em:targetPlatform>
<em:targetPlatform>Linux</em:targetPlatform>
</Description>
</RDF>
我正在尝试使用手动.xpi让 Selenium WebDriver 与Tor Browser Bundle一起使用。