← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #671371]: click not working --- click timing might be the problem --- workaround

 

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

Summary changed to:
click not working --- click timing might be the problem --- workaround

Description changed to:
************************* workaround

play with the timing of a click according to comment #2

-----------------------------------------------------------------------------------
I know this exact same question has been asked a milion times, but hear me out : 

I'm trying to click some buttons using Sikuli 1.1.2 running on Admin by using sudo on Terminal.
OS : MacOS High Sierra 10.13.5
Program I'm clicking on : Bluestacks 2.0.0

I've tried click(), doubleClick(), hover(img) then click(), define region and click region, run on user and run using sudo, everything.
The click()s sometimes work and when it does it will work until that session is terminated.
But when it does not, however, sikuli will say that it did click but the clicks are not actually registered on the bluestacks screen.
And no, I use switchApp("Bluestacks") at the start of the code and it focuses properly.

Is it because of something funky going on with Bluestacks? with Sikuli? or with MacOS? Or am I just bad at coding and messed up? 
Any help is appreciated, I don't think I have much time.

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