Webdriver???firefox?????ж?????
???????????? ???????[ 2013/9/16 10:28:50 ] ????????
?????????watir-webdriver???в?????????????????1??Firebox???????????????????????????????ж??????????????????????
# encoding: utf-8
t_start_require = Time.new
require 'rubygems'
require 'watir-webdriver'
t_end_require = Time.new
require_time = t_end_require - t_start_require
puts 'require_time ' +require_time.to_s
%w[firefox chrome].each do |b|
@b = Watir::Browser.new b.to_sym
t_end_browser = Time.new
browser_time = t_end_browser - t_end_require - browser_time
puts b + ' start browser time is ' + browser_time.to_s
@b.close
end
?????????£?
????require_time 1.422 firefox start browser time is 9.198 chrome start browser time is 11.725
??????????????????????????????chrome?????????11.725 - 9.198 = 2.5
???????????????????μ?????
??????????rubygems??watir-webdriver??????1.5?????? ???firefox???9?????? ???chrome???2.5??????
?????????????????AMD3.0 4???4G??棬?????????????????????????Щ??仯?????????????????????firefox??????????????????
???????????????firefox?????????????????????firefox????????????????firefox???????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11