← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #218023]: Whats wrong with ELIF

 

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

Colby Black gave more information on the question:
This is the section I'm concerned with. I give it an IF (If gmail tab
exists, click) ,Else if, (the blue gmail tab is there, click that
instead.) else ( If neither of those are true, click settings to start a
new action) What is incorrect about that?

if exists(tabGMAIL):
            click(tabGMAIL)
elif:
      click(tabGMAILblue)
else:
      click(tabSETTINGS)
       click(settingsCLEARbrowsing)

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