pythonseleniumide使用_从Selenium IDE将测试导出为python
您还可能需要在常规选项中启用“实验功能”和“开发人员工具”。
然后您应该能够将格式更改为Python。
见下文:
请同时阅读Selenium FAQ,并按照官方的blog进行新的更改。
使用最新版本的解决方法The community of Perl, PHP and Groovy users that use Selenium must
have felt sad when the official support for these formatters was
dropped. Starting v1.2.0 of Selenium IDE, these formatters were no
longer bundled with Selenium IDE. I have some good news for you. All
these formatters are bundled as individual plugins and you can still
get them from Selenium IDE v1.1.0 if you are interested. Here is what
you need to do.从正式的Selenium下载站点here下载Selenium IDE v1.1.0。不要安装它,最好的方法是右键单击链接并将链接另存为。
接下来,将扩展名从.xpi更改为.zip并解压缩它(或者只是解压缩它:unzip file.xpi)。
在Firefox中使用“文件”菜单->;“打开文件…”菜单项(python-format.xpi、groovy-format.xpi、perl-format.xpi、php-format.xpi等)逐个打开提取的文件。
你完了。
故障排除安装新插件后重新启动Firefox
确保所有的格式插件都在Add-ons管理器上并已启用
如果遇到兼容性问题,可以在install.rdf中增加em:maxVersion。位置见截图。我计划发布一个工具,将来会自动完成这项工作。在那之前,在谷歌上搜索如果你有麻烦怎么做。我听说先安装Add-on Compatibility Reporter也有帮助。