问题描述
如果我只有Jython,可以使用Selenium2Library吗?也就是说,我还没有安装Python,并且希望摆脱不需要它的麻烦.我已经阅读了有冲突的信息,但是jybot无法使用selenium2library,我将需要pybot来使用它.
Can I use Selenium2Library if I only have Jython? That is, I haven't installed Python, and was hoping to get away with not needing it. I've read conflicting information however that jybot CANNOT use selenium2library, and I'll need pybot to use it.
如果jybot无法使用selenium2Library,是否可以通过某种方式让jybot调用pybot?
If jybot can't use selenium2Library, is there a way to have jybot call pybot somehow?
谢谢
推荐答案
因此,经过一些阅读和反复试验后,可以将Selenium2Library仅与Jython AS一起使用,就像您使用jython 2.7+ ... jython 2.5.x一样与Selenium2Library不兼容.
So after some reading and trial and error, it IS possible to use Selenium2Library with only Jython AS LONG AS you use jython 2.7+ ... jython 2.5.x is NOT compatible with Selenium2Library.
因此您可以完全不用Python:
So you can get away with not using Python at all:
- 安装jython 2.7 +
- 安装ez_setup.py
- 安装机器人框架
- 安装Selenium2Library.
这篇关于是否可以在不安装Python的情况下为RobotFramework安装Selenium2Library?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!