37,719
社区成员
发帖
与我相关
我的任务
分享
require 'watir/ie'
上面网页里的解释(by Bret):The reason for this is as follows. The "watir" library (what you require
'watir' to get), used to be the Watir::IE class and supporting code. Now
that library is called "watir/ie". There is now a new library called
"watir" (contained in the commonwatir gem, actually) that loads the
correct library. It will load 'watir/ie' if (1) you use Browser.new and
your browser option is 'ie' or (2) if you make any reference to Watir::IE.
Bret