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也有帮助。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值