← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #180695]: assertExist and assert Env.getClipboard() not wroking

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- must be:
Env.getClipboard() == "3"

since Env.getClipboard() returns strings, if anything at all.

--- assertExist ("img.png")
this is deprecated.
use instead:

assert exits("img.png")

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