← Back to team overview

sikuli-driver team mailing list archive

[Question #708914]: select

 

New question #708914 on SikuliX:
https://answers.launchpad.net/sikuli/+question/708914

I can not get the select() function to work.

I have tried following

login = ("outlook", "facebook", "workplace", "page3", "page4")
a = select("where do you like to log in?", options = login)

it show me this error message:

 [ sikulitemp-7621303983381196603 ] stopped with error in line 2
[error] TypeError ( popSelect(): 3rd arg can't be coerced to String )
[error] --- Traceback --- error source first
line: module ( function ) statement 
432: Sikuli (  select )     return Sikulix.popSelect(msg, title, options, default)
2: main (  <module> )     selected = select("Please select an item from the list", options = items)
[error] --- Traceback --- end --------------


im using the 2.0.5



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