[1.1.0] click(exists()) always return True

Bug #1536759 reported by RaiMan on 2016-01-21
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sikuli
High
RaiMan

Bug Description

Hi,
Usually Im using code something like this:

if not click(exists('some_image')):
    # do some actions to make image visible
    click('some_image')

But after update to version 1.1.0 ive noticed that click(exists('some_nonexistent_image')) always return True. Checked in version 1.0.1 - False was returned.

Is it normal behavior? Should I wait for some fix or update my scripts to "if exists > else" ? Or maybe im not using it right?

BTW thanks for great automation tool RaiMan )))

RaiMan (raimund-hocke) on 2016-01-21
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions