sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15345
Re: [Question #218023]: Whats wrong with ELIF
Question #218023 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/218023
Status: Open => Answered
j proposed the following answer:
Then you should write:
if exists(tabGMAIL):
click(tabGMAIL)
elif exists(tabGMAILblue):
click(tabGMAILblue)
else:
click(tabSETTINGS)
click(settingsCLEARbrowsing)
As RaiMan said, "elif" needs a statement to evaluate.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.