开发者

Converting Watir/Watin script to Selenium Scripts

开发者 https://www.devze.com 2023-02-01 10:31 出处:网络
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

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

精彩评论

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

关注公众号