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.
精彩评论