← Back to team overview

sikuli-driver team mailing list archive

[Question #245597]: How does "Settings.Highlight" work?

 

New question #245597 on Sikuli:
https://answers.launchpad.net/sikuli/+question/245597

Hi,

I have noticed that the below setting behaves funny in certain cases:
Settings.Highlight = True

For example, when I execute a simple code like this:
find("image.png")

The detected region is being flashsing (beihng highlighted) twice.

However, when I do something like that:
if exists("image.png"):
   pass

The detected region is only being highlighted once (as I would expect).


This might be a minor issue when just debugging a couple of lines at once. But if a fairly long scenario is being debugged, it could double the testing time since each area will be highlighted many times (in my case I had regions flashing up to 6 times).


This setting is very helpful as is, but I just wanted to know if there is any way to control that behavior even more?


Thanks!
Eugene S

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