sikuli does not find the object

Asked by Loren Lai

Hello,

what I'm doing wrong in here ...

- my browser ist started
- I click on the URL
- A new website is loaded (the parent window does not exist anymore)
- Now I try to click on the new icon in a new loaded website

... somehow ... sikuli does not recognize the new icon in new website.
Which command I can use to focus() the new open window ?

Thank you.

Cheers
Loren

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Loren Lai
Solved:
Last query:
Last reply:
Revision history for this message
obiwan-92 (obiwan-92) said :
#1

Hello.

App("Your_browser_title").focus()

It's doesn't work if the window is reduce. in the task bar.

Regards.

Revision history for this message
Loren Lai (lorenlai) said :
#2

Hi obiwan,

it works ! :-)))))))))

Thank you & *hug* :-)))

Loren