Watir: 应用Watir,调用AutoIT清空IE浏览器的Cookies
require 'win32ole'
ai = WIN32OLE.new("AutoItX3.Control")
ai.RunWait("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255")
require 'win32ole'
ai = WIN32OLE.new("AutoItX3.Control")
ai.RunWait("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255")