问题
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:
- Install jython 2.7+
- Install ez_setup.py
- Install robot framework
- Install Selenium2Library.
来源:https://stackoverflow.com/questions/13754725/can-i-install-selenium2library-for-robotframework-without-installing-python