Can I install Selenium2Library for RobotFramework without installing Python?

独自空忆成欢 提交于 2020-01-11 07:57:07

问题


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.

If jybot can't use selenium2Library, is there a way to have jybot call pybot somehow?

Thanks


回答1:


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.

So you can get away with not using Python at all:

  1. Install jython 2.7+
  2. Install ez_setup.py
  3. Install robot framework
  4. Install Selenium2Library.


来源:https://stackoverflow.com/questions/13754725/can-i-install-selenium2library-for-robotframework-without-installing-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!