require 'win32ole'
ai = WIN32OLE.new("AutoItX3.Control")
ai.Run("CONTROL.EXE inetcpl.cpl,,0")
ai.WinWaitActive("Internet 属性","")
ai.ControlClick("Internet 属性","删除 Cookies(&I)...","Button6")
ai.WinWaitActive("删除 Cookies","")
ai.ControlClick("删除 Cookies","确定","Button1")
ai.ControlClick("Internet 属性","确定","Button15")
IE6下调用inetcpl.cpl清除COOKIE的方法
最新推荐文章于 2023-07-03 10:40:35 发布