← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #270449]: App.close fails to close

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
tested with latest build (your config).

this works:

saf = App("Safari") # create App instance

saf.open() # open it
wait(3)

saf.close() # close it

conclusion: use the instance methods instead of the class methods

(nevertheless: App.close("Safari") should work also, but does not do yet
;-)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.