开发者

Converting Watir/Watin script to Selenium Scripts

Is it possible to automate the translation of a Watir/Wai开发者_如何学运维tin script to selenium? The problem is the selenium ide is only for firefox, and I need to record on Internet Explorer.


If you already have a Watir script, why don't you use it for both IE and FF?

require 'watir'

Watir::Browser.default = "ie"
#Watir::Browser.default = "firefox"

@browser = Watir::Browser.new

I'm not seeing where Selenium enters into that problem based on your first statement and the problem with FF/IE.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜