Need to find a way for sikuli to know if its running its scripts in google chrome via windows or mac
Asked by
Iole
Hi,
Im new in sikuli and would like to ask for your help in how to determine that my script is running in google chrome for win or in mac
This is my code
if(App("Google Chrome").window()):
print "Opened"
else:
print "Not opened"
That script works fine in mac, sikuli knows when google chrome is opened however in windows. it always print "Opened" even if google chrome is not opened.
Thanks,
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Iole
- Solved:
- Last query:
- Last reply:
To post a message you must log in.