On my machine, I've following Selenium WebDriver versions:
在我的机器上,我遵循Selenium WebDriver版本:
selenium-webdriver (2.35.1, 2.35.0, 2.33.0, 2.32.1)
selenium-webdriver(2.35.1,2.35.0,2.33.0,2.32.1)
While executing selenium commands on irb, I want to use selenium-webdriver 2.35.0
All api related to Selenium Webdriver should use selenium-webdriver 2.35.0
在irb上执行selenium命令时,我想使用selenium-webdriver 2.35.0所有与Selenium Webdriver相关的api应该使用selenium-webdriver 2.35.0
How can I achieve this?
我怎样才能做到这一点?
Something like require 'selenium-webdriver 2.35.0'
? Please suggest solution.
像'selenium-webdriver 2.35.0'这样的东西?请建议解决方案。
1 个解决方案
#1
17
You need a call to gem
first:
你需要先调用gem:
gem 'selenium-webdriver', '= 2.35.0'
require 'selenium-webdriver'
#1
17
You need a call to gem
first:
你需要先调用gem:
gem 'selenium-webdriver', '= 2.35.0'
require 'selenium-webdriver'