← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #271628]: how to Close All IE which have opened before open a new IE ?

 

Question #271628 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271628

YongJianYan posted a new comment:
When I change to :
# -*- coding: utf-8 -*-
import org.sikuli.script

if __name__=='__main__':
   Debug.on(3)
   ie = App("C:\\Program Files\\Internet Explorer\\iexplore.exe")
   wait(5)
   ie.close()

but I get error message:

[debug] Jython: requested to use as default region: R[0,0 1366x768]@S(0)

[debug] JythonScriptRunner: runPython: running script from IDE: D:/sikuli/TestLettuce.sikuli
[debug] WinUtil.getApp: C:\Program Files\Internet Explorer\iexplore.exe

[debug] App.create: [-1:C:\Program]

[debug] WinUtil.getApp: C:\Program

[error] App.close [-1:C:\Program ()] C:\Program did not work
[debug] Sikulix: cleanUp: 0

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.